﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace PMS.XCMG.Entity.Migrations
{
    public partial class Update20220510 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterDatabase()
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "AgvDispatchTask",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    StartCode = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: false, comment: "起点位置编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    TargetCode = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: false, comment: "目标位置编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    TaskType = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Agv任务类型(CF_Enum.Code=AgvTaskType)")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    TaskStatus = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Agv任务状态(CF_Enum.Code=AgvTaskStatus)")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    DispatchTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "调度时间"),
                    CompletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "完成时间"),
                    ElapsedTime = table.Column<int>(type: "int", nullable: false, comment: "耗时(单位：分钟)"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_AgvDispatchTask", x => x.Id);
                },
                comment: "AGV调度任务记录")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CF_CodeType",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "类型编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "类型名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    JoinChar = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, defaultValue: "", comment: "连接字符")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CF_CodeType", x => x.Id);
                },
                comment: "编码自动生成类型")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CF_Config",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CompanyId = table.Column<string>(type: "longtext", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "参数编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "参数名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Type = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "参数类型")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ValConfig = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "可选值配置")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Val = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "配置值")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    IsSystem = table.Column<bool>(type: "tinyint(50)", maxLength: 50, nullable: false, defaultValue: false, comment: "是否系统必需"),
                    Remark = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "备注")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CF_Config", x => x.Id);
                },
                comment: "系统配置")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CF_District",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "地址编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Level = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "级别")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ParentId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "父节点")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CityCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "城市编码")
                        .Annotation("MySql:CharSet", "utf8mb4")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CF_District", x => x.Id);
                },
                comment: "全国地址信息")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CF_Enum",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CompanyId = table.Column<string>(type: "longtext", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    IsSystem = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "系统必须"),
                    Remark = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "备注")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CF_Enum", x => x.Id);
                },
                comment: "数据字典")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CraftStep",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "步骤编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "步骤名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Icon = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "步骤图标")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Sort = table.Column<int>(type: "int", nullable: false, comment: "排序号"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CraftStep", x => x.Id);
                },
                comment: "工艺流程步骤")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "DeliveryExecuted",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    PrepareId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "备料Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    DispatchTaskId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Agv调度任务Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Count = table.Column<int>(type: "int", nullable: false, comment: "配送数量（按台套）"),
                    DeliveryTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "配送时间"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_DeliveryExecuted", x => x.Id);
                },
                comment: "物料配送记录")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "DeviceFault",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    EquipmentCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "设备编码（Equipment.Code）")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "故障编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "故障名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Status = table.Column<int>(type: "int", nullable: false, comment: "故障状态"),
                    FaultTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "故障时间"),
                    SolutionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "解决时间"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_DeviceFault", x => x.Id);
                },
                comment: "设备故障报警")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "DispathPathConfig",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Key = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "电气信号逻辑地址")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    IsEnabled = table.Column<bool>(type: "tinyint(50)", maxLength: 50, nullable: false, comment: "启用状态"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_DispathPathConfig", x => x.Id);
                },
                comment: "DispathPathConfig")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "FaultType",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "故障类型编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "故障类型名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Level = table.Column<int>(type: "int", nullable: false, comment: "故障级别"),
                    Desc = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "故障描述")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Solution = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: false, comment: "排查解决办法")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_FaultType", x => x.Id);
                },
                comment: "故障类型")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterielSortingIssued",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SortingConfigId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "分拣配置编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SequenceIndex = table.Column<int>(type: "int", nullable: false, comment: "顺序号"),
                    CollectorAddress = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "配置下发地址")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterielSortingIssued", x => x.Id);
                },
                comment: "物料配置下发配置")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterielType",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "类型编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "类型名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Desc = table.Column<string>(type: "longtext", nullable: true, comment: "类型备注说明")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterielType", x => x.Id);
                },
                comment: "物料类型/物料分类")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "StationExecuted",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_StationExecuted", x => x.Id);
                },
                comment: "StationExecuted")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "StepExecuted",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_StepExecuted", x => x.Id);
                },
                comment: "StepExecuted")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_Menu",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ParentId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "上级菜单")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Icon = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "图标")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Path = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "路径")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Component = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "组件")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Redirect = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "跳转")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Seq = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "排序"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_Menu", x => x.Id);
                    table.ForeignKey(
                        name: "FK_Sys_Menu_Sys_Menu_ParentId",
                        column: x => x.ParentId,
                        principalTable: "Sys_Menu",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Restrict);
                },
                comment: "菜单")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_Org",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ParentId = table.Column<string>(type: "varchar(50)", nullable: true, comment: "上级组织")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_Org", x => x.Id);
                    table.ForeignKey(
                        name: "FK_Sys_Org_Sys_Org_ParentId",
                        column: x => x.ParentId,
                        principalTable: "Sys_Org",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Restrict);
                },
                comment: "组织架构")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_Personnel",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "姓名")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Photo = table.Column<string>(type: "longtext", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    OrgId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "所属部门Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    RoleName = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "岗位/角色名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Sex = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "性别")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Card = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "证件号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Phone = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "电话")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Addr = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "地址")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_Personnel", x => x.Id);
                },
                comment: "Sys_Personnel")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_Role",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "角色名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_Role", x => x.Id);
                },
                comment: "角色")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Team",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "班组编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "班组名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Team", x => x.Id);
                },
                comment: "班组")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "TeamTime",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "班时编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "班时名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    StartTime = table.Column<string>(type: "longtext", nullable: false, comment: "开始时间（格式：HH:mm）")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    EndTime = table.Column<string>(type: "longtext", nullable: false, comment: "结束时间（格式：HH:mm）")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_TeamTime", x => x.Id);
                },
                comment: "班时")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Worksho",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "车间编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "车间名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Worksho", x => x.Id);
                },
                comment: "生产车间")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CF_CodeRule",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CompanyId = table.Column<string>(type: "longtext", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CodeTypeId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编码类型")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    RuleType = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "规则类型")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "排序"),
                    Rule = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, defaultValue: "", comment: "规则")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Length = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "长度"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CF_CodeRule", x => x.Id);
                    table.ForeignKey(
                        name: "FK_CF_CodeRule_CF_CodeType_CodeTypeId",
                        column: x => x.CodeTypeId,
                        principalTable: "CF_CodeType",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "编码规则")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CF_CodeSerial",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CompanyId = table.Column<string>(type: "longtext", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CodeTypeId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "类型Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ParaName = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "参数名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ParaValue = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "参数值")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SerialNum = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "流水号")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CF_CodeSerial", x => x.Id);
                    table.ForeignKey(
                        name: "FK_CF_CodeSerial_CF_CodeType_CodeTypeId",
                        column: x => x.CodeTypeId,
                        principalTable: "CF_CodeType",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "编码流水")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CF_EnumItem",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CompanyId = table.Column<string>(type: "longtext", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    EnumId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "数据字典")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "显示名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "字典编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Sort = table.Column<int>(type: "int", nullable: false, defaultValue: 0, comment: "排序"),
                    Config = table.Column<string>(type: "varchar(500)", maxLength: 500, nullable: true, comment: "配置参数")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Remark = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true, comment: "备注")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    IsSystem = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "系统必须"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CF_EnumItem", x => x.Id);
                    table.ForeignKey(
                        name: "FK_CF_EnumItem_CF_Enum_EnumId",
                        column: x => x.EnumId,
                        principalTable: "CF_Enum",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "数据字典值")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "CraftStepProcess",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CraftStepId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "工艺流程步骤ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "工序编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "工序名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Icon = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "工序图标")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Sort = table.Column<int>(type: "int", nullable: false),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CraftStepProcess", x => x.Id);
                    table.ForeignKey(
                        name: "FK_CraftStepProcess_CraftStep_CraftStepId",
                        column: x => x.CraftStepId,
                        principalTable: "CraftStep",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "工艺流程步骤-加工过程(工序)")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "ResponseVarToMPCodeConfig",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Key = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "电气信号逻辑地址")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    DispathPathCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "调度匹配路径Code")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    TaskType = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "任务类型")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ReadOrWriteType = table.Column<int>(type: "int", maxLength: 50, nullable: false, comment: "读写类型"),
                    SignalType = table.Column<int>(type: "int", maxLength: 50, nullable: true, comment: "电气信号类型"),
                    WorkPieceType = table.Column<int>(type: "int", maxLength: 50, nullable: true, comment: "工件类型"),
                    PathType = table.Column<int>(type: "int", maxLength: 50, nullable: true, comment: "路径类型"),
                    DispathPathConfigId = table.Column<string>(type: "varchar(50)", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_ResponseVarToMPCodeConfig", x => x.Id);
                    table.ForeignKey(
                        name: "FK_ResponseVarToMPCodeConfig_DispathPathConfig_DispathPathConfi~",
                        column: x => x.DispathPathConfigId,
                        principalTable: "DispathPathConfig",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Restrict);
                },
                comment: "ResponseVarToMPCodeConfig")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterielInfor",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    TypeId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料类型ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    FullName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "物料全称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Unit = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料单位")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterielInfor", x => x.Id);
                    table.ForeignKey(
                        name: "FK_MaterielInfor_MaterielType_TypeId",
                        column: x => x.TypeId,
                        principalTable: "MaterielType",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "物料信息")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_Action",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MenuId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "所属菜单")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "动作名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "动作编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_Action", x => x.Id);
                    table.ForeignKey(
                        name: "FK_Sys_Action_Sys_Menu_MenuId",
                        column: x => x.MenuId,
                        principalTable: "Sys_Menu",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "操作权限定义")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_User",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    UserName = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "用户名")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Password = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "密码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Status = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "状态")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    OrgId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "所属组织")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Sex = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "性别")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CompanyId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "公司Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_User", x => x.Id);
                    table.ForeignKey(
                        name: "FK_Sys_User_Sys_Org_OrgId",
                        column: x => x.OrgId,
                        principalTable: "Sys_Org",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Restrict);
                },
                comment: "系统用户")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_RoleMenu",
                columns: table => new
                {
                    RoleId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MenuId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false)
                        .Annotation("MySql:CharSet", "utf8mb4")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_RoleMenu", x => new { x.MenuId, x.RoleId });
                    table.ForeignKey(
                        name: "FK_Sys_RoleMenu_Sys_Menu_MenuId",
                        column: x => x.MenuId,
                        principalTable: "Sys_Menu",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_Sys_RoleMenu_Sys_Role_RoleId",
                        column: x => x.RoleId,
                        principalTable: "Sys_Role",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "角色菜单")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "WorkshoArea",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    WorkshoId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "生产车间ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CraftStepId = table.Column<string>(type: "varchar(50)", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "区域编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "区域名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_WorkshoArea", x => x.Id);
                    table.ForeignKey(
                        name: "FK_WorkshoArea_CraftStep_CraftStepId",
                        column: x => x.CraftStepId,
                        principalTable: "CraftStep",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Restrict);
                    table.ForeignKey(
                        name: "FK_WorkshoArea_Worksho_WorkshoId",
                        column: x => x.WorkshoId,
                        principalTable: "Worksho",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "生产区域")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterielSpec",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MaterielId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "规格编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MesCode = table.Column<string>(type: "longtext", nullable: true)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ElectricCode = table.Column<int>(type: "int", nullable: false),
                    Name = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "规格名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Desc = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "规格描述")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Sort = table.Column<int>(type: "int", nullable: false, comment: "规格排序号"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterielSpec", x => x.Id);
                    table.ForeignKey(
                        name: "FK_MaterielSpec_MaterielInfor_MaterielId",
                        column: x => x.MaterielId,
                        principalTable: "MaterielInfor",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "物料规格信息")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "StorageArea",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "缓存区编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "缓存区名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MaterielId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "可缓存物料")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_StorageArea", x => x.Id);
                    table.ForeignKey(
                        name: "FK_StorageArea_MaterielInfor_MaterielId",
                        column: x => x.MaterielId,
                        principalTable: "MaterielInfor",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "缓存区")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_RoleAction",
                columns: table => new
                {
                    RoleId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ActionId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false)
                        .Annotation("MySql:CharSet", "utf8mb4")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_RoleAction", x => new { x.ActionId, x.RoleId });
                    table.ForeignKey(
                        name: "FK_Sys_RoleAction_Sys_Action_ActionId",
                        column: x => x.ActionId,
                        principalTable: "Sys_Action",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_Sys_RoleAction_Sys_Role_RoleId",
                        column: x => x.RoleId,
                        principalTable: "Sys_Role",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "角色操作权限")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Sys_UserRole",
                columns: table => new
                {
                    UserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    RoleId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false)
                        .Annotation("MySql:CharSet", "utf8mb4")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sys_UserRole", x => new { x.UserId, x.RoleId });
                    table.ForeignKey(
                        name: "FK_Sys_UserRole_Sys_Role_RoleId",
                        column: x => x.RoleId,
                        principalTable: "Sys_Role",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_Sys_UserRole_Sys_User_UserId",
                        column: x => x.UserId,
                        principalTable: "Sys_User",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "用户角色")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "WorkshoUnit",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    AreaId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "生产区域ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "生产单元编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "生产单元名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_WorkshoUnit", x => x.Id);
                    table.ForeignKey(
                        name: "FK_WorkshoUnit_WorkshoArea_AreaId",
                        column: x => x.AreaId,
                        principalTable: "WorkshoArea",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "生产单元")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterialBom",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ProductId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "产品ID-对应物料ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SpecId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "规格ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Bom编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Bom名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Version = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: false, comment: "Bom版本")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Status = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "BOM状态")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterialBom", x => x.Id);
                    table.ForeignKey(
                        name: "FK_MaterialBom_MaterielInfor_ProductId",
                        column: x => x.ProductId,
                        principalTable: "MaterielInfor",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_MaterialBom_MaterielSpec_SpecId",
                        column: x => x.SpecId,
                        principalTable: "MaterielSpec",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "产品Bom")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterielSortingConfig",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "分拣配置名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ProductSpecId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "产品物料规格编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SortingMaterialId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "待分拣物料编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    VaneGrabCount = table.Column<short>(type: "smallint", nullable: false, comment: "累计抓取次数"),
                    CarNameAddress = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "车型名称电气写入地址")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    VaneGrabCountAddress = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "累计抓取次数电气写入地址")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    IsEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "启用状态"),
                    SortingDesc = table.Column<string>(type: "longtext", nullable: true, comment: "分拣说明")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterielSortingConfig", x => x.Id);
                    table.ForeignKey(
                        name: "FK_MaterielSortingConfig_MaterielInfor_SortingMaterialId",
                        column: x => x.SortingMaterialId,
                        principalTable: "MaterielInfor",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_MaterielSortingConfig_MaterielSpec_ProductSpecId",
                        column: x => x.ProductSpecId,
                        principalTable: "MaterielSpec",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "MaterielSortingConfig")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "StorageLocation",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "料位编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ElectricCode = table.Column<short>(type: "smallint", nullable: false),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "料位名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    StorageArealId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "所属缓存区编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_StorageLocation", x => x.Id);
                    table.ForeignKey(
                        name: "FK_StorageLocation_StorageArea_StorageArealId",
                        column: x => x.StorageArealId,
                        principalTable: "StorageArea",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "物料缓存料位")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "WorkshoStation",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    UnitId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "生产单元ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ProcessId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "工序ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "生产工位编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "生产工位名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Type = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "工位类型(CF_Enum.Code=StationType)")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_WorkshoStation", x => x.Id);
                    table.ForeignKey(
                        name: "FK_WorkshoStation_CraftStepProcess_ProcessId",
                        column: x => x.ProcessId,
                        principalTable: "CraftStepProcess",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_WorkshoStation_WorkshoUnit_UnitId",
                        column: x => x.UnitId,
                        principalTable: "WorkshoUnit",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "生产工位")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterialBomTree",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ParentId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "上级Bom清单Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    BomId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "产品BomId")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MaterialId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "组成物料Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SpecId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料规格Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Bom清单编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Bom清单名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Quantity = table.Column<int>(type: "int", nullable: false, defaultValue: 1, comment: "数量"),
                    HasChild = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "是否包含子级"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterialBomTree", x => x.Id);
                    table.ForeignKey(
                        name: "FK_MaterialBomTree_MaterialBom_BomId",
                        column: x => x.BomId,
                        principalTable: "MaterialBom",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_MaterialBomTree_MaterialBomTree_ParentId",
                        column: x => x.ParentId,
                        principalTable: "MaterialBomTree",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Restrict);
                    table.ForeignKey(
                        name: "FK_MaterialBomTree_MaterielInfor_MaterialId",
                        column: x => x.MaterialId,
                        principalTable: "MaterielInfor",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_MaterialBomTree_MaterielSpec_SpecId",
                        column: x => x.SpecId,
                        principalTable: "MaterielSpec",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "产品Bom清单树")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Plan",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "计划编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "计划名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    BomId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "产品BomId")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Count = table.Column<int>(type: "int", nullable: false, comment: "计划数量（按台套）"),
                    Quantity = table.Column<int>(type: "int", nullable: false, comment: "实际完成数量（按台套）"),
                    PlanDate = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "计划日期")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    PlanDay = table.Column<int>(type: "int", nullable: false, comment: "计划日期"),
                    TeamTimeCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "计划班时")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Status = table.Column<int>(type: "int", nullable: false, comment: "计划状态"),
                    DeliveryState = table.Column<int>(type: "int", nullable: false, comment: "计划备料状态"),
                    StartTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "开始时间"),
                    EndTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "结束时间"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Plan", x => x.Id);
                    table.ForeignKey(
                        name: "FK_Plan_MaterialBom_BomId",
                        column: x => x.BomId,
                        principalTable: "MaterialBom",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "计划")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterielSortingLocation",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SortingConfigId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "分拣配置编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    LocationId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "缓存位编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SpecId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "待抓取物料规格编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Quantity = table.Column<int>(type: "int", nullable: false, comment: "最大容量"),
                    CollectorAddress = table.Column<string>(type: "longtext", nullable: true, comment: "数据采集地址")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterielSortingLocation", x => x.Id);
                    table.ForeignKey(
                        name: "FK_MaterielSortingLocation_MaterielSortingConfig_SortingConfigId",
                        column: x => x.SortingConfigId,
                        principalTable: "MaterielSortingConfig",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_MaterielSortingLocation_MaterielSpec_SpecId",
                        column: x => x.SpecId,
                        principalTable: "MaterielSpec",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Restrict);
                    table.ForeignKey(
                        name: "FK_MaterielSortingLocation_StorageLocation_LocationId",
                        column: x => x.LocationId,
                        principalTable: "StorageLocation",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "分拣料位存入物料规格设置")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Equipment",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    StationId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "负责工位ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "设备编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "设备名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Equipment", x => x.Id);
                    table.ForeignKey(
                        name: "FK_Equipment_WorkshoStation_StationId",
                        column: x => x.StationId,
                        principalTable: "WorkshoStation",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "设备")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "TeamMember",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    TeamId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "班组ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    StationId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "负责工位ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    UserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "用户ID")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "成员编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "成员名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_TeamMember", x => x.Id);
                    table.ForeignKey(
                        name: "FK_TeamMember_Sys_User_UserId",
                        column: x => x.UserId,
                        principalTable: "Sys_User",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_TeamMember_Team_TeamId",
                        column: x => x.TeamId,
                        principalTable: "Team",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_TeamMember_WorkshoStation_StationId",
                        column: x => x.StationId,
                        principalTable: "WorkshoStation",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "班组成员")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "PlanPrepare",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    PlanId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "计划Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    BomTreeId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Bom清单Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MaterielId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Code = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SpecName = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料规格")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Count = table.Column<int>(type: "int", nullable: false, comment: "需备件数量（按台套）"),
                    Quantity = table.Column<int>(type: "int", nullable: false, comment: "备料区库存数量（按台套）"),
                    DeliveryCount = table.Column<int>(type: "int", nullable: false, comment: "已配送数量（按台套）"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_PlanPrepare", x => x.Id);
                    table.ForeignKey(
                        name: "FK_PlanPrepare_Plan_PlanId",
                        column: x => x.PlanId,
                        principalTable: "Plan",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "计划备料执行情况(备料员接收计划时生成)")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "Precollected",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    PlanId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "计划Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    BomTreeId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "Bom清单Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MaterielId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料Id")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SpecId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MaterieCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物料编码")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    MaterieName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "物料名称")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SpecCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false)
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SpecName = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: false, comment: "物料规格")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Quantity = table.Column<int>(type: "int", nullable: false, comment: "预收数量"),
                    RealIncome = table.Column<int>(type: "int", nullable: false, comment: "实收数量"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Precollected", x => x.Id);
                    table.ForeignKey(
                        name: "FK_Precollected_Plan_PlanId",
                        column: x => x.PlanId,
                        principalTable: "Plan",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "预收清单")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "MaterielSortingSequence",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    SortingConfigId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "分拣配置编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    LocationId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "缓存位编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    OrderNo = table.Column<int>(type: "int", nullable: false, comment: "抓取顺序号"),
                    Quantity = table.Column<int>(type: "int", nullable: false, comment: "连续抓取次数"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MaterielSortingSequence", x => x.Id);
                    table.ForeignKey(
                        name: "FK_MaterielSortingSequence_MaterielSortingConfig_SortingConfigId",
                        column: x => x.SortingConfigId,
                        principalTable: "MaterielSortingConfig",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                    table.ForeignKey(
                        name: "FK_MaterielSortingSequence_MaterielSortingLocation_LocationId",
                        column: x => x.LocationId,
                        principalTable: "MaterielSortingLocation",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "物料抓取顺序设置")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.CreateTable(
                name: "RealIncome",
                columns: table => new
                {
                    Id = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "主键")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    PrecollectedId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "预收编号")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    StoreageCode = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "缓存料位")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    Quantity = table.Column<int>(type: "int", nullable: false, comment: "实收数量"),
                    Deleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "是否删除"),
                    CreateUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    CreateTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "创建时间"),
                    ModifyUserId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人")
                        .Annotation("MySql:CharSet", "utf8mb4"),
                    ModifyTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, defaultValueSql: "(NOW())", comment: "修改时间")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_RealIncome", x => x.Id);
                    table.ForeignKey(
                        name: "FK_RealIncome_Precollected_PrecollectedId",
                        column: x => x.PrecollectedId,
                        principalTable: "Precollected",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                },
                comment: "实收明细记录")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.InsertData(
                table: "CF_CodeType",
                columns: new[] { "Id", "Code", "CreateUserId", "JoinChar", "ModifyUserId", "Name" },
                values: new object[] { "XCMG_CF_User_Code", "CF_User_Code", "1", "", "1", "用户编号" });

            migrationBuilder.InsertData(
                table: "CF_Config",
                columns: new[] { "Id", "Code", "CompanyId", "CreateUserId", "IsSystem", "ModifyUserId", "Name", "Remark", "Type", "Val", "ValConfig" },
                values: new object[] { "XCMG_AppName", "AppName", "XCMG", "1", true, "1", "系统名称", "", "System", "搅拌筒生产线生产管理系统", "" });

            migrationBuilder.InsertData(
                table: "CF_Config",
                columns: new[] { "Id", "Code", "CompanyId", "CreateUserId", "ModifyUserId", "Name", "Remark", "Type", "Val", "ValConfig" },
                values: new object[] { "XCMG_Sys_User_Code_AutoGenerate", "Sys_User_Code_AutoGenerate", "XCMG", "1", "1", "用户编码自动生成", "", "User", "1", "" });

            migrationBuilder.InsertData(
                table: "CF_Enum",
                columns: new[] { "Id", "Code", "CompanyId", "CreateUserId", "IsSystem", "ModifyUserId", "Name", "Remark" },
                values: new object[,]
                {
                    { "XCMG_SyncStatus", "SyncStatus", "XCMG", "1", true, "1", "同步状态", "" },
                    { "XCMG_Rotation", "Rotation", "XCMG", "1", true, "1", "优先规则", "" },
                    { "XCMG_UnitLevel", "UnitLevel", "XCMG", "1", true, "1", "单位级别", "" },
                    { "XCMG_Unit", "Unit", "XCMG", "1", true, "1", "单位", "" },
                    { "XCMG_State", "State", "XCMG", "1", true, "1", "启用状态", "" },
                    { "XCMG_CF_CodeRule_Type", "CF_CodeRule_Type", "XCMG", "1", true, "1", "规则类型", "" },
                    { "XCMG_YesOrNo", "YesOrNo", "XCMG", "1", true, "1", "是否", "" },
                    { "XCMG_Sex", "Sex", "XCMG", "1", true, "1", "性别", "" },
                    { "XCMG_AgvTaskStatus", "AgvTaskStatus", "XCMG", "1", true, "1", "AGV任务状态", "" },
                    { "XCMG_AgvTaskType", "AgvTaskType", "XCMG", "1", true, "1", "AGV任务类型", "" },
                    { "XCMG_EleCarType", "EleCarType", "XCMG", "1", true, "1", "车型编码", "车型电气编码" },
                    { "XCMG_StationType", "StationType", "XCMG", "1", true, "1", "工位类型", "" },
                    { "XCMG_CF_Config_Type", "CF_Config_Type", "XCMG", "1", true, "1", "配置类型", "" }
                });

            migrationBuilder.InsertData(
                table: "CraftStep",
                columns: new[] { "Id", "Code", "CreateUserId", "Icon", "ModifyUserId", "Name", "Sort" },
                values: new object[,]
                {
                    { "TTJC", "05.TTJC", "1", "dropbox", "1", "筒体检测", 5 },
                    { "TTJG", "04.TTJG", "1", "dropbox", "1", "筒体加工", 4 },
                    { "LLHC", "01.LLHC", "1", "dropbox", "1", "来料缓存", 1 },
                    { "PBJY", "02.PBJY", "1", "dropbox", "1", "拼板卷圆", 2 },
                    { "CXJYZ", "03.CXJYZ", "1", "dropbox", "1", "成型件预装", 3 }
                });

            migrationBuilder.InsertData(
                table: "DispathPathConfig",
                columns: new[] { "Id", "Code", "CreateTime", "CreateUserId", "IsEnabled", "Key", "ModifyUserId", "Name" },
                values: new object[,]
                {
                    { "s_o3", "o3", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4043), null, true, "S7Net.LSZD1.o3", null, "立式组队中锥缓存位搬出请求" },
                    { "s_r5", "r5", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4067), null, true, "S7Net.LSZD1.r5", null, "立式组队前锥缓存位搬出请求" },
                    { "s_r4", "r4", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4065), null, true, "S7Net.LSZD1.r4", null, "立式组队前锥缓存位搬出请求" },
                    { "s_r3", "r3", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4063), null, true, "S7Net.LSZD1.r3", null, "立式组队前锥缓存位搬出请求" },
                    { "s_r2", "r2", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4061), null, true, "S7Net.LSZD1.r2", null, "立式组队前锥缓存位搬出请求" },
                    { "s_p5", "p5", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4059), null, true, "S7Net.LSZD1.p5", null, "立式组队中桶缓存位搬出请求" },
                    { "s_p4", "p4", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4056), null, true, "S7Net.LSZD1.p4", null, "立式组队中桶缓存位搬出请求" },
                    { "s_p3", "p3", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4054), null, true, "S7Net.LSZD1.p3", null, "立式组队中桶缓存位搬出请求" },
                    { "s_p2", "p2", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4052), null, true, "S7Net.LSZD1.p2", null, "立式组队中桶缓存位搬出请求" },
                    { "s_o5", "o5", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4047), null, true, "S7Net.LSZD1.o5", null, "立式组队中锥缓存位搬出请求" },
                    { "s_o4", "o4", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4045), null, true, "S7Net.LSZD1.o4", null, "立式组队中锥缓存位搬出请求" },
                    { "s_o2", "o2", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4041), null, true, "S7Net.LSZD1.o2", null, "立式组队中锥缓存位搬出请求" },
                    { "s_p1", "p1", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4049), null, true, "S7Net.LSZD1.p1", null, "立式组队中桶缓存位搬出请求" },
                    { "P1", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4029), null, true, "S7Net.LSZD1.ReadMid_CalfMoveIn_Request", null, "立式组队中桶要料请求" },
                    { "R1", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4038), null, true, "S7Net.LSZD1.ReadCentreMoveIn_Request", null, "立式组队前锥要料请求" },
                    { "N1", "N1", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(3711), null, true, "S7Net.ZFHJ.WeidingCall_AGV1", null, "前锥拼版区要料" },
                    { "N2", "N2", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4001), null, true, "S7Net.ZFHJ.WeidingCall_AGV2", null, "前锥拼版区要料" },
                    { "N3", "N3", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4007), null, true, "S7Net.ZFHJ.WeidingCall_AGV3", null, "前锥拼版区要料" },
                    { "s_n2", "n2", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4012), null, true, "S7Net.PBJYQ.ReadJYJ2MoveIn_Request", null, "卷圆机要框" },
                    { "s_n1", "n1", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4009), null, true, "S7Net.PBJYQ.ReadJYJ1MoveIn_Request", null, "卷圆机要框" },
                    { "s_n4", "n4", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4019), null, true, "S7Net.PBJYQ.ReadJYJ4MoveIn_Request", null, "卷圆机要框" },
                    { "s_n5", "n5", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4021), null, true, "S7Net.PBJYQ.ReadJYJ5MoveIn_Request", null, "卷圆机要框" },
                    { "s_n6", "n6", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4023), null, true, "S7Net.PBJYQ.ReadJYJ6MoveIn_Request", null, "卷圆机要框" },
                    { "O1", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4026), null, true, "S7Net.LSZD1.ReadBeforeMoveIn_Request", null, "立式组队中锥要料请求" },
                    { "s_n3", "n3", new DateTime(2022, 5, 10, 15, 42, 6, 183, DateTimeKind.Local).AddTicks(4016), null, true, "S7Net.PBJYQ.ReadJYJ3MoveIn_Request", null, "卷圆机要框" }
                });

            migrationBuilder.InsertData(
                table: "MaterielSortingIssued",
                columns: new[] { "Id", "CollectorAddress", "CreateUserId", "ModifyUserId", "SequenceIndex", "SortingConfigId" },
                values: new object[,]
                {
                    { "f9b34a95f4ba4b09922a96c1957c0fc3", "M07G36_VaneGrabIndex", null, null, 36, "MSC_07" },
                    { "09115cb4aefd4f098405287346f587d7", "M07G33_VaneGrabIndex", null, null, 33, "MSC_07" },
                    { "5df2faeca9674d218d9bff1b8373b23b", "M07G34_VaneGrabIndex", null, null, 34, "MSC_07" },
                    { "94cfcbbfb43345ff846b88d440a3081e", "M07G35_VaneGrabIndex", null, null, 35, "MSC_07" },
                    { "a0cbde59bbb44c0183a249d4df613f19", "M07G37_VaneGrabIndex", null, null, 37, "MSC_07" },
                    { "fb8f6fba79a045b0a4209551edfdd9da", "M07G42_VaneGrabIndex", null, null, 42, "MSC_07" },
                    { "9adbc8ff67444ccd86543e7945b87ee1", "M07G39_VaneGrabIndex", null, null, 39, "MSC_07" },
                    { "517e13b7953e482daa3f37965f6563e8", "M07G40_VaneGrabIndex", null, null, 40, "MSC_07" },
                    { "fd883aa0253d44e89adca0bf2694f35e", "M07G41_VaneGrabIndex", null, null, 41, "MSC_07" },
                    { "eafc307d167d40589d4c7f2f288ddb9b", "M07G32_VaneGrabIndex", null, null, 32, "MSC_07" },
                    { "1b15271e1d424e99ac6d34632a93c61e", "M07G43_VaneGrabIndex", null, null, 43, "MSC_07" },
                    { "d4760037766b4b6a95bf07ef88aa9d97", "M07G38_VaneGrabIndex", null, null, 38, "MSC_07" },
                    { "076aa411cba14ea09816ec8db5a336d6", "M07G31_VaneGrabIndex", null, null, 31, "MSC_07" },
                    { "b0314873be924ea1bfe9fabf88e4aecd", "M07G25_VaneGrabIndex", null, null, 25, "MSC_07" },
                    { "5bc3bda6c045419b93c90ac9557041b7", "M07G29_VaneGrabIndex", null, null, 29, "MSC_07" },
                    { "6635cdc125ce42f9b050680dd00cb270", "M07G28_VaneGrabIndex", null, null, 28, "MSC_07" },
                    { "eb40362d0d194d9a9ca57165c5242655", "M07G27_VaneGrabIndex", null, null, 27, "MSC_07" },
                    { "f12fe48cdda345f5a6f06bdd15f2654d", "M07G26_VaneGrabIndex", null, null, 26, "MSC_07" },
                    { "881cceb7c7674d6dbd12693b115a6b9a", "M07G24_VaneGrabIndex", null, null, 24, "MSC_07" },
                    { "aa420c6fdaf847f5854e8231ff883b1b", "M07G23_VaneGrabIndex", null, null, 23, "MSC_07" },
                    { "de6db3f8c3c14e1b8f0ae0a55d36b1e3", "M07G22_VaneGrabIndex", null, null, 22, "MSC_07" },
                    { "55aba85664e24c019c67ad26194a0e49", "M07G21_VaneGrabIndex", null, null, 21, "MSC_07" },
                    { "b3b539bf6e5540208d597b7c12b05af8", "M07G20_VaneGrabIndex", null, null, 20, "MSC_07" },
                    { "d1610ef725494e6b9b53d88321917c11", "M07G19_VaneGrabIndex", null, null, 19, "MSC_07" },
                    { "5302c4da0ea04517b5c0c06a61353191", "M07G18_VaneGrabIndex", null, null, 18, "MSC_07" },
                    { "e4e15cba21a8437d8134ba340cac98d1", "M07G17_VaneGrabIndex", null, null, 17, "MSC_07" },
                    { "2d92f403ec9442748e4d8a9fc36455df", "M07G44_VaneGrabIndex", null, null, 44, "MSC_07" },
                    { "bb3cfe83d1e04ca8b29fe0275f0dc667", "M07G30_VaneGrabIndex", null, null, 30, "MSC_07" },
                    { "6402de0163b5442190b4e809e2a599ea", "M07G45_VaneGrabIndex", null, null, 45, "MSC_07" },
                    { "8f42a2384eb243e7a2a9c4be6cd0af4c", "M08G18_VaneGrabIndex", null, null, 18, "MSC_08" },
                    { "bf4391e7690d46e9a47554de1213be4c", "M07G47_VaneGrabIndex", null, null, 47, "MSC_07" },
                    { "80932b97ea9a4d4c94fab335e937cfd8", "M08G24_VaneGrabIndex", null, null, 24, "MSC_08" },
                    { "f7a17ba64e434f578f6e6301b6d24f6e", "M08G23_VaneGrabIndex", null, null, 23, "MSC_08" },
                    { "40090d67e6a1477ca6b4f234b5766869", "M08G22_VaneGrabIndex", null, null, 22, "MSC_08" },
                    { "f14d6aeddd1746abbde649b9d7bc3500", "M08G21_VaneGrabIndex", null, null, 21, "MSC_08" },
                    { "33452392641e47859150abad0ff813a3", "M08G20_VaneGrabIndex", null, null, 20, "MSC_08" },
                    { "8750d9bd0d3b4dc4b20e1c71093dc8fd", "M08G19_VaneGrabIndex", null, null, 19, "MSC_08" },
                    { "4f86f78615e844d4a388db2293ba6e44", "M07G16_VaneGrabIndex", null, null, 16, "MSC_07" },
                    { "0fdbb0a200754557a3b3b8a56f7c0c7e", "M08G17_VaneGrabIndex", null, null, 17, "MSC_08" },
                    { "315e8e385b7e4a828f2a250fae2d40fe", "M08G16_VaneGrabIndex", null, null, 16, "MSC_08" },
                    { "b2993132a72d4745a9c0420d25128f28", "M08G15_VaneGrabIndex", null, null, 15, "MSC_08" },
                    { "d32cea4321d542aeb9597212d47e59f3", "M08G14_VaneGrabIndex", null, null, 14, "MSC_08" },
                    { "1cae1b2e45b045edad33307fc7202645", "M08G13_VaneGrabIndex", null, null, 13, "MSC_08" },
                    { "0b0e62c42680457fb5b416bcb07915a2", "M08G12_VaneGrabIndex", null, null, 12, "MSC_08" },
                    { "512681463a6e4db7bf0a7280c86edb99", "M08G11_VaneGrabIndex", null, null, 11, "MSC_08" },
                    { "31b0ec3d945f4857abd86e0313864ca7", "M08G10_VaneGrabIndex", null, null, 10, "MSC_08" },
                    { "9f91f52504464fc2bf232cecc26ebe2d", "M08G09_VaneGrabIndex", null, null, 9, "MSC_08" },
                    { "543d9e09dc434203ba3ca9c5f7d479f3", "M08G08_VaneGrabIndex", null, null, 8, "MSC_08" },
                    { "f59cabac801848d385df75d77354f0af", "M08G07_VaneGrabIndex", null, null, 7, "MSC_08" },
                    { "03a7a0f1b6b748f1877a4ebce0bff39f", "M08G06_VaneGrabIndex", null, null, 6, "MSC_08" },
                    { "499a9d34220a42d997cc140bfc535ccf", "M08G05_VaneGrabIndex", null, null, 5, "MSC_08" },
                    { "660430c7721c415b8e5e2c490340ec7c", "M08G04_VaneGrabIndex", null, null, 4, "MSC_08" },
                    { "2bd4dd684d174eb3abd88d6e5d4234e8", "M08G03_VaneGrabIndex", null, null, 3, "MSC_08" },
                    { "c9ab5c4a21f249b0a2d4fb354cf1f382", "M08G02_VaneGrabIndex", null, null, 2, "MSC_08" },
                    { "ba8069148a6e4adbbe378b6534a4535f", "M08G01_VaneGrabIndex", null, null, 1, "MSC_08" },
                    { "0af3a63cf63f427ba7f9b291b9987635", "M07G50_VaneGrabIndex", null, null, 50, "MSC_07" },
                    { "7bf41f408d4b4210af89626ad6e17f66", "M07G49_VaneGrabIndex", null, null, 49, "MSC_07" },
                    { "b8fceee1f0c84995b78ea49d3f864f93", "M07G48_VaneGrabIndex", null, null, 48, "MSC_07" },
                    { "7c5eca7b88c145fc8db72d1d412d9671", "M07G46_VaneGrabIndex", null, null, 46, "MSC_07" },
                    { "065946986cb24d43a90631bc621f5b18", "M07G15_VaneGrabIndex", null, null, 15, "MSC_07" },
                    { "ad8f9303d7794c54bbbf4a9afcfe2aae", "M06G42_VaneGrabIndex", null, null, 42, "MSC_06" },
                    { "2af75faf36424ad88da40905f977c4df", "M07G13_VaneGrabIndex", null, null, 13, "MSC_07" },
                    { "3a838d4518b14e759e971e3c9a15d6be", "M06G30_VaneGrabIndex", null, null, 30, "MSC_06" },
                    { "7de112f5d3524f78aebfc61d8a4d3188", "M06G29_VaneGrabIndex", null, null, 29, "MSC_06" },
                    { "dd1afca7b66b45fcb34361e9547ea902", "M06G28_VaneGrabIndex", null, null, 28, "MSC_06" },
                    { "4c1661f7cc8e4f94815cefd183c2ed84", "M06G27_VaneGrabIndex", null, null, 27, "MSC_06" },
                    { "05bb26bc4423419491f9ad36ae70b07a", "M06G26_VaneGrabIndex", null, null, 26, "MSC_06" },
                    { "793f1da421f448978ee14fc9c8c29638", "M06G25_VaneGrabIndex", null, null, 25, "MSC_06" },
                    { "cd18a8a37bf1480f8b2930191e0b2e88", "M06G24_VaneGrabIndex", null, null, 24, "MSC_06" },
                    { "9bf78afedbfe4ae98866845366e02b54", "M06G22_VaneGrabIndex", null, null, 22, "MSC_06" },
                    { "d9c73a0a88d74683a9de86a0c2767929", "M06G21_VaneGrabIndex", null, null, 21, "MSC_06" },
                    { "cbc4981d600a49fe8e08cbaae963aac2", "M06G20_VaneGrabIndex", null, null, 20, "MSC_06" },
                    { "c07f82e029f84444877f4d0b015e02a3", "M06G19_VaneGrabIndex", null, null, 19, "MSC_06" },
                    { "7acb077508094bca8b37103825713ae5", "M06G18_VaneGrabIndex", null, null, 18, "MSC_06" },
                    { "43acabf1b8a8469886fe31042e85698d", "M06G17_VaneGrabIndex", null, null, 17, "MSC_06" },
                    { "c4ba064806b64c5189d4d58f8a5064c3", "M06G16_VaneGrabIndex", null, null, 16, "MSC_06" },
                    { "5ab988a4a3f44cc084d26f8dcd2f8942", "M06G15_VaneGrabIndex", null, null, 15, "MSC_06" },
                    { "932d05eb47ec426094b96ba96ca330b5", "M06G14_VaneGrabIndex", null, null, 14, "MSC_06" },
                    { "74654a66e53343229db76fa6e3f52871", "M06G13_VaneGrabIndex", null, null, 13, "MSC_06" },
                    { "f2f5b3fa8df54dd0bf59f6ea9bba89c5", "M06G12_VaneGrabIndex", null, null, 12, "MSC_06" },
                    { "ee471f166f464cb580b38e6f10ba76ed", "M06G11_VaneGrabIndex", null, null, 11, "MSC_06" },
                    { "c5e29432d5894936a8446450b4ebf477", "M06G10_VaneGrabIndex", null, null, 10, "MSC_06" },
                    { "4c5d3e5c6e9c405594d1448d72d2b657", "M06G09_VaneGrabIndex", null, null, 9, "MSC_06" },
                    { "67869d6fb87d46bcb476de381b04e80d", "M06G08_VaneGrabIndex", null, null, 8, "MSC_06" },
                    { "5449ca852d23486db0f4accf55760034", "M06G07_VaneGrabIndex", null, null, 7, "MSC_06" },
                    { "01ff5283218c4e6da84eb2fefd1b5940", "M06G06_VaneGrabIndex", null, null, 6, "MSC_06" },
                    { "4ad08d2e5d7d4d4fbda7d6a618feec5b", "M06G05_VaneGrabIndex", null, null, 5, "MSC_06" },
                    { "5dd65b0da5fe433f9064103874874ba9", "M06G04_VaneGrabIndex", null, null, 4, "MSC_06" },
                    { "678123f05b174d7f94708ddd00788722", "M06G03_VaneGrabIndex", null, null, 3, "MSC_06" },
                    { "032ff57501e840cd883669c005ca4399", "M06G31_VaneGrabIndex", null, null, 31, "MSC_06" },
                    { "13db0c8ced7f43d89e20a97a4dc96ff5", "M06G32_VaneGrabIndex", null, null, 32, "MSC_06" },
                    { "ca88510095844615b45dbd72c0614e4d", "M06G33_VaneGrabIndex", null, null, 33, "MSC_06" },
                    { "4339cac862a54c42a3e04c182ddb42c1", "M06G34_VaneGrabIndex", null, null, 34, "MSC_06" },
                    { "20bfd0c50bbf4d6bb7026f89f012de6d", "M07G12_VaneGrabIndex", null, null, 12, "MSC_07" },
                    { "b9e5a6b734e748b4be7e51f8c51cbe65", "M07G11_VaneGrabIndex", null, null, 11, "MSC_07" },
                    { "acd13be4d03a4fabbb31a67b882c163b", "M07G10_VaneGrabIndex", null, null, 10, "MSC_07" },
                    { "6493ff4d45404134a84add12e0f4be21", "M07G09_VaneGrabIndex", null, null, 9, "MSC_07" },
                    { "114efeeb510f4b20bc2fd9e6651327e8", "M07G08_VaneGrabIndex", null, null, 8, "MSC_07" },
                    { "29cd74aa81514fa8a227f40d5c7d9c30", "M07G07_VaneGrabIndex", null, null, 7, "MSC_07" },
                    { "a49305f247ac47b4b5dbd728c5a6b0cc", "M07G06_VaneGrabIndex", null, null, 6, "MSC_07" },
                    { "1d0e477d89ec4ca8b9f51b840bab5d9b", "M07G05_VaneGrabIndex", null, null, 5, "MSC_07" },
                    { "61cf9abfd4dc45279f52d99bf764c6ac", "M07G04_VaneGrabIndex", null, null, 4, "MSC_07" },
                    { "698f0a10f7c34284b80da3341cd7e7f6", "M07G03_VaneGrabIndex", null, null, 3, "MSC_07" },
                    { "6114581de381476b87f30d369c2ece89", "M07G02_VaneGrabIndex", null, null, 2, "MSC_07" },
                    { "f910c16dcd2141caab6925abae332f6d", "M07G01_VaneGrabIndex", null, null, 1, "MSC_07" },
                    { "03e0ba7955a24e42b684eb9f3258176d", "M06G50_VaneGrabIndex", null, null, 50, "MSC_06" },
                    { "cdeefc723e284cc58626839f5a4af978", "M07G14_VaneGrabIndex", null, null, 14, "MSC_07" },
                    { "0bc722dbf66e4df1b12f066bae0bb222", "M06G49_VaneGrabIndex", null, null, 49, "MSC_06" },
                    { "bd9bde638ded43cf899b9bbe3021d7d4", "M06G47_VaneGrabIndex", null, null, 47, "MSC_06" },
                    { "f2662bfeac3f4a95961aaba3a3cd048c", "M06G46_VaneGrabIndex", null, null, 46, "MSC_06" },
                    { "89fa3dd5408f44229acdb2993e5e3149", "M06G45_VaneGrabIndex", null, null, 45, "MSC_06" },
                    { "e6efdfb0998d4417b95a9d0daa4f9d1e", "M06G44_VaneGrabIndex", null, null, 44, "MSC_06" },
                    { "df43ee9cc97d479ebed9781ea774d829", "M06G43_VaneGrabIndex", null, null, 43, "MSC_06" },
                    { "a2614a93012241a1a8e2b6c5ac74e70a", "M08G25_VaneGrabIndex", null, null, 25, "MSC_08" },
                    { "fe9aedc74b174d4d973fac975d304972", "M06G41_VaneGrabIndex", null, null, 41, "MSC_06" },
                    { "ce5918d13a5b461c96a83c9014b207dd", "M06G40_VaneGrabIndex", null, null, 40, "MSC_06" },
                    { "7514d0afbaa543ddaf9cae2a31bcda30", "M06G39_VaneGrabIndex", null, null, 39, "MSC_06" },
                    { "25d9830dfe7b4628954c9c02b5a24703", "M06G38_VaneGrabIndex", null, null, 38, "MSC_06" },
                    { "71c4d43349dc4cb991f6039c40686d4c", "M06G37_VaneGrabIndex", null, null, 37, "MSC_06" },
                    { "e7ff0ba95b114eb2bf074af8080a94d6", "M06G36_VaneGrabIndex", null, null, 36, "MSC_06" },
                    { "d6493b3498d34aed906e1cccf9cae52a", "M06G35_VaneGrabIndex", null, null, 35, "MSC_06" },
                    { "30ba6d6754a64108a16eb51f736beb6c", "M06G48_VaneGrabIndex", null, null, 48, "MSC_06" },
                    { "3eeb45bb508c4d279e9504cafcba7e00", "M08G26_VaneGrabIndex", null, null, 26, "MSC_08" },
                    { "55fd7ec1d22e463bb65f45302b647edb", "M08G49_VaneGrabIndex", null, null, 49, "MSC_08" },
                    { "30bf13526b6a4dc8b8190908b99984b5", "M08G28_VaneGrabIndex", null, null, 28, "MSC_08" },
                    { "df5ff80ace754960bd49e5098747134f", "M10G18_VaneGrabIndex", null, null, 18, "MSC_10" },
                    { "a6900ba74bd24d74b140d5f52072dc92", "M10G17_VaneGrabIndex", null, null, 17, "MSC_10" },
                    { "416e7191802f407880af228196d1a879", "M10G16_VaneGrabIndex", null, null, 16, "MSC_10" },
                    { "b7e8004ad4f443eaac9b606a1fd5a3af", "M10G15_VaneGrabIndex", null, null, 15, "MSC_10" },
                    { "b7191a1ea5aa4ef999ddc65f86c8a11c", "M10G14_VaneGrabIndex", null, null, 14, "MSC_10" },
                    { "6c24d5e6cdce4867b34c8ea74911ab23", "M10G13_VaneGrabIndex", null, null, 13, "MSC_10" },
                    { "010bd3a5a0f0423a86c2461ffc0966e4", "M10G12_VaneGrabIndex", null, null, 12, "MSC_10" },
                    { "e97b4f7e6d304447825300f123a9902f", "M10G11_VaneGrabIndex", null, null, 11, "MSC_10" },
                    { "366b9d21d9034d919b82fe63c2d7418d", "M10G10_VaneGrabIndex", null, null, 10, "MSC_10" },
                    { "897718e354fc426a91f38234e72ba77d", "M10G09_VaneGrabIndex", null, null, 9, "MSC_10" },
                    { "efbcf204d7d84930a52123999b796039", "M10G08_VaneGrabIndex", null, null, 8, "MSC_10" },
                    { "eef0cbf976b2422f866c0a356c4694fc", "M10G07_VaneGrabIndex", null, null, 7, "MSC_10" },
                    { "001b083f2fbf4ad2b3c0327f45894812", "M10G06_VaneGrabIndex", null, null, 6, "MSC_10" },
                    { "23a9df865be24a9d8c2ee99c0c6b6fcf", "M10G05_VaneGrabIndex", null, null, 5, "MSC_10" },
                    { "e229be51c34d4544914a64732e2c4059", "M10G04_VaneGrabIndex", null, null, 4, "MSC_10" },
                    { "d06859d3ac4f4d0c88b8c042cbdb5754", "M10G03_VaneGrabIndex", null, null, 3, "MSC_10" },
                    { "d7e5fd38b77946edbeda74f272e48390", "M10G02_VaneGrabIndex", null, null, 2, "MSC_10" },
                    { "07322f8d3d64464da79b80e4ec8708a2", "M10G01_VaneGrabIndex", null, null, 1, "MSC_10" },
                    { "66ba83e4e8134a059ceaf21114f544e4", "M09G50_VaneGrabIndex", null, null, 50, "MSC_09" },
                    { "a451034f53be483094201bb2d8f6ee17", "M09G49_VaneGrabIndex", null, null, 49, "MSC_09" },
                    { "f071e8b692fe46ce9cc7c4433ca9cc83", "M09G48_VaneGrabIndex", null, null, 48, "MSC_09" },
                    { "e20ad486c63b4d0fa48ffe24632e76fc", "M09G47_VaneGrabIndex", null, null, 47, "MSC_09" },
                    { "cbdebca9c74a418796f5205dfe86322e", "M09G46_VaneGrabIndex", null, null, 46, "MSC_09" },
                    { "58a63abeef024b7eb62280258d334a4c", "M09G45_VaneGrabIndex", null, null, 45, "MSC_09" },
                    { "10df367bd2d245aa9d889dc2aba6d866", "M09G44_VaneGrabIndex", null, null, 44, "MSC_09" },
                    { "759111397b334bf488c2a98b2dc9b007", "M09G43_VaneGrabIndex", null, null, 43, "MSC_09" },
                    { "e52d5c33afa546258b03fc733d5719f8", "M09G42_VaneGrabIndex", null, null, 42, "MSC_09" },
                    { "618d592f2e13486fbbbfb0e4423e1392", "M10G19_VaneGrabIndex", null, null, 19, "MSC_10" },
                    { "33d1f693f99643e49a48bae170eb3ab7", "M10G20_VaneGrabIndex", null, null, 20, "MSC_10" },
                    { "e171901f940e4962abbee120f9f7434f", "M10G21_VaneGrabIndex", null, null, 21, "MSC_10" },
                    { "14cddc76a8bd4c5e97cb990219f4dff0", "M10G22_VaneGrabIndex", null, null, 22, "MSC_10" },
                    { "27ba19478adf4f04a4ca9c863c3062fd", "M10G50_VaneGrabIndex", null, null, 50, "MSC_10" },
                    { "4f0ed73d76eb414e8912a492a7b35c6a", "M10G49_VaneGrabIndex", null, null, 49, "MSC_10" },
                    { "8b27ca4257b64dc6b705f0cd8941f9f7", "M10G48_VaneGrabIndex", null, null, 48, "MSC_10" },
                    { "a94a249731674d2e9a2002940de2b57d", "M10G47_VaneGrabIndex", null, null, 47, "MSC_10" },
                    { "61f79f6bb64c4664bc847dae4576ca33", "M10G46_VaneGrabIndex", null, null, 46, "MSC_10" },
                    { "2916f17adfbe46afb182d91f40de7417", "M10G45_VaneGrabIndex", null, null, 45, "MSC_10" },
                    { "2eb1a6f3e4494d969d094d2ccaa6ae49", "M10G44_VaneGrabIndex", null, null, 44, "MSC_10" },
                    { "8873bc0f00394808984a9d4a92090746", "M10G43_VaneGrabIndex", null, null, 43, "MSC_10" },
                    { "9e958f30e6954e97bbe0fe410583f249", "M10G42_VaneGrabIndex", null, null, 42, "MSC_10" },
                    { "5ac13ed1349140869db15ed58d1e89a6", "M10G41_VaneGrabIndex", null, null, 41, "MSC_10" },
                    { "5951d5eac8fd4ce1ad746552c6144000", "M10G40_VaneGrabIndex", null, null, 40, "MSC_10" },
                    { "28c97b814e0b42eeb2760d4a9c26f3a1", "M10G39_VaneGrabIndex", null, null, 39, "MSC_10" },
                    { "a6c22822a11f46ca8eda101463e03184", "M10G38_VaneGrabIndex", null, null, 38, "MSC_10" },
                    { "81a558114a294280a49af50ec215251a", "M09G41_VaneGrabIndex", null, null, 41, "MSC_09" },
                    { "c8a8e03791084cd99761e3c94a47cff0", "M10G37_VaneGrabIndex", null, null, 37, "MSC_10" },
                    { "731f14cd146e4c4b81e58e60176df9ac", "M10G35_VaneGrabIndex", null, null, 35, "MSC_10" },
                    { "f6a8e0e9858c4e8db526ad40d2a96b9b", "M10G34_VaneGrabIndex", null, null, 34, "MSC_10" },
                    { "113989a3ed164296ac2aa3eede80f398", "M10G33_VaneGrabIndex", null, null, 33, "MSC_10" },
                    { "5569839a6699483aa17dc9fb00bba058", "M10G32_VaneGrabIndex", null, null, 32, "MSC_10" },
                    { "5dd81b35c96248bab94fd305da986992", "M10G31_VaneGrabIndex", null, null, 31, "MSC_10" },
                    { "456b1c4b2a394653865caeed169cca60", "M10G30_VaneGrabIndex", null, null, 30, "MSC_10" },
                    { "fa28c59aff4e433face85fef6f2594ad", "M10G29_VaneGrabIndex", null, null, 29, "MSC_10" },
                    { "c94fa540cbb24031b583027188b1d793", "M10G28_VaneGrabIndex", null, null, 28, "MSC_10" },
                    { "453f2cf09767458cbaef6eed7aa293c7", "M10G27_VaneGrabIndex", null, null, 27, "MSC_10" },
                    { "590dd78a286b4b398422c56d99718228", "M10G26_VaneGrabIndex", null, null, 26, "MSC_10" },
                    { "6c6fb213d3304715a72042d3e9ca518a", "M10G25_VaneGrabIndex", null, null, 25, "MSC_10" },
                    { "d677dd8446b74033a0e9fdd7c0680a77", "M10G24_VaneGrabIndex", null, null, 24, "MSC_10" },
                    { "f29eb4769ee54a98b61070b7d838929d", "M10G23_VaneGrabIndex", null, null, 23, "MSC_10" },
                    { "b949d35a78eb4cf9b69421ba82113b88", "M10G36_VaneGrabIndex", null, null, 36, "MSC_10" },
                    { "b21ffb230c5c456b8060c9a3716b24db", "M08G27_VaneGrabIndex", null, null, 27, "MSC_08" },
                    { "aad98a4a310a4211b3ecb2bf7809d9f9", "M09G40_VaneGrabIndex", null, null, 40, "MSC_09" },
                    { "fb10586e216043a58cc0fac03117a705", "M09G38_VaneGrabIndex", null, null, 38, "MSC_09" },
                    { "8a0e9e6bbda14cebbe06a834a681adec", "M09G05_VaneGrabIndex", null, null, 5, "MSC_09" },
                    { "1ec99da3fe794645ab88824f9a255ec8", "M09G04_VaneGrabIndex", null, null, 4, "MSC_09" },
                    { "3e2411d0fd1c45289baa5deac28bc36c", "M09G03_VaneGrabIndex", null, null, 3, "MSC_09" },
                    { "e84dd0d31c374b2eb44e06c240db11c2", "M09G02_VaneGrabIndex", null, null, 2, "MSC_09" },
                    { "d8875100fae54d86a0825b810f2af7b7", "M09G01_VaneGrabIndex", null, null, 1, "MSC_09" },
                    { "51133c6ca57349f18049cea9ac9f1918", "M08G50_VaneGrabIndex", null, null, 50, "MSC_08" },
                    { "6b2432d0aeb64bda978db8e7fd1c2e3b", "M06G02_VaneGrabIndex", null, null, 2, "MSC_06" },
                    { "7cf85de8c28b4e68a6b0b1a7675924c7", "M08G48_VaneGrabIndex", null, null, 48, "MSC_08" },
                    { "5fce06cdcda9470589f495edf5e20253", "M08G47_VaneGrabIndex", null, null, 47, "MSC_08" },
                    { "dcd73152a8f641b7b290088d6333dcce", "M08G46_VaneGrabIndex", null, null, 46, "MSC_08" },
                    { "30e8376989dc4882a9442236281c54e4", "M08G45_VaneGrabIndex", null, null, 45, "MSC_08" },
                    { "82a027f7465d4aad9dae962e14b91a4b", "M08G44_VaneGrabIndex", null, null, 44, "MSC_08" },
                    { "0c40384b0d3e455aad5e84d52705e18e", "M08G43_VaneGrabIndex", null, null, 43, "MSC_08" },
                    { "6eab0778cc714a17870b155903b62965", "M08G42_VaneGrabIndex", null, null, 42, "MSC_08" },
                    { "cb1c3a66747b4e329f918e96e964a1a6", "M08G41_VaneGrabIndex", null, null, 41, "MSC_08" },
                    { "79e46300a5014021bfd268e1bf3ce65a", "M08G40_VaneGrabIndex", null, null, 40, "MSC_08" },
                    { "f523a3869cb745f3bbd6b7a749a0f702", "M08G39_VaneGrabIndex", null, null, 39, "MSC_08" },
                    { "697a5d69bdae4e3bbd4acf6ed2a81e50", "M08G38_VaneGrabIndex", null, null, 38, "MSC_08" },
                    { "887386e653434635b5ce3690d70072e7", "M08G37_VaneGrabIndex", null, null, 37, "MSC_08" },
                    { "adbe979028404986b22e7eb49fc69230", "M08G36_VaneGrabIndex", null, null, 36, "MSC_08" },
                    { "1bae1ba97fb845d5a71330f051731d71", "M08G35_VaneGrabIndex", null, null, 35, "MSC_08" },
                    { "154f5499c6204f18b8dfba6eaad76abb", "M08G34_VaneGrabIndex", null, null, 34, "MSC_08" },
                    { "ace98bc7f4214c1bbd4172f0911c5544", "M08G33_VaneGrabIndex", null, null, 33, "MSC_08" },
                    { "2f7979ce5d0a477b8fe03bc9e697c5b5", "M08G32_VaneGrabIndex", null, null, 32, "MSC_08" },
                    { "ee31cc53a080432bba55dc12a1761915", "M08G31_VaneGrabIndex", null, null, 31, "MSC_08" },
                    { "0d593fffd534486a83d8ac5bd8f1d3d1", "M08G30_VaneGrabIndex", null, null, 30, "MSC_08" },
                    { "8ca0f7e7f4c2448387dded7a2ac3d4ce", "M08G29_VaneGrabIndex", null, null, 29, "MSC_08" },
                    { "4376de57fee54c18886c8917bca5698c", "M09G06_VaneGrabIndex", null, null, 6, "MSC_09" },
                    { "3788372dee824f2b89f2de1a46f23d7f", "M09G07_VaneGrabIndex", null, null, 7, "MSC_09" },
                    { "8f376881f2de428592c243dfa9d099a6", "M09G08_VaneGrabIndex", null, null, 8, "MSC_09" },
                    { "3200b2e8aa8846e8bdd6dc1bc799ca5d", "M09G09_VaneGrabIndex", null, null, 9, "MSC_09" },
                    { "13e6bfc3c9fd40169ee95da08b5675d7", "M09G37_VaneGrabIndex", null, null, 37, "MSC_09" },
                    { "ad810b41fffd441ba7607c9cdcb3cbcf", "M09G36_VaneGrabIndex", null, null, 36, "MSC_09" },
                    { "de16752fec4b41069859d05c7e3a9d63", "M09G35_VaneGrabIndex", null, null, 35, "MSC_09" },
                    { "5a6822bb61814dc29ee4058a5e048f1c", "M09G34_VaneGrabIndex", null, null, 34, "MSC_09" },
                    { "9ae0c0397b9f44418152ae899297dc86", "M09G33_VaneGrabIndex", null, null, 33, "MSC_09" },
                    { "487aef0edc7c42d9a21f01ec72f07539", "M09G32_VaneGrabIndex", null, null, 32, "MSC_09" },
                    { "390823221f484a208e3695305be32b5c", "M09G31_VaneGrabIndex", null, null, 31, "MSC_09" },
                    { "c854a0144d0d474aae43aa78293f0bb9", "M09G30_VaneGrabIndex", null, null, 30, "MSC_09" },
                    { "62ee8e150e734656aa5436f313262601", "M09G29_VaneGrabIndex", null, null, 29, "MSC_09" },
                    { "aa289218b276453ab2c62401191f1f92", "M09G28_VaneGrabIndex", null, null, 28, "MSC_09" },
                    { "664430a9563042a4a5e13a472d2d0231", "M09G27_VaneGrabIndex", null, null, 27, "MSC_09" },
                    { "4cf06e19c613475c9cd9b9ac20f4b5ed", "M09G26_VaneGrabIndex", null, null, 26, "MSC_09" },
                    { "fdb7347015254ed8a9ae8d77a1de3b9d", "M09G25_VaneGrabIndex", null, null, 25, "MSC_09" },
                    { "5e76bee79b4044a8b95991d9f79c2e01", "M09G39_VaneGrabIndex", null, null, 39, "MSC_09" },
                    { "0e185b90b0684c9d9156c3f39ee3ec1e", "M09G24_VaneGrabIndex", null, null, 24, "MSC_09" },
                    { "ac0a8744839b406cb5bf39fa4e4de82e", "M09G22_VaneGrabIndex", null, null, 22, "MSC_09" },
                    { "78e84450db7043a68e7838854c2358f9", "M09G21_VaneGrabIndex", null, null, 21, "MSC_09" },
                    { "7538026b80024b33845dbc00e4a36788", "M09G20_VaneGrabIndex", null, null, 20, "MSC_09" },
                    { "9f8b4f9464a24d269e924ff64719548e", "M09G19_VaneGrabIndex", null, null, 19, "MSC_09" },
                    { "5c3657f675a94b1e9c3c5bd1f947535c", "M09G18_VaneGrabIndex", null, null, 18, "MSC_09" },
                    { "6729035f4ea747bf827b9bfec6359c5a", "M09G17_VaneGrabIndex", null, null, 17, "MSC_09" },
                    { "3813d03da88b4efab53a3ea1ed6b3065", "M09G16_VaneGrabIndex", null, null, 16, "MSC_09" },
                    { "9cd6064517dd4097accb3f6f6825a830", "M09G15_VaneGrabIndex", null, null, 15, "MSC_09" },
                    { "30f612b0236c4549b1e11a2117f0a226", "M09G14_VaneGrabIndex", null, null, 14, "MSC_09" },
                    { "904e64e691a34abe921b40ca7c0828c1", "M09G13_VaneGrabIndex", null, null, 13, "MSC_09" },
                    { "fb0077852f304c3e8032086d50c6ae13", "M09G12_VaneGrabIndex", null, null, 12, "MSC_09" },
                    { "01087c8c12d944cabdcfa580460d7171", "M09G11_VaneGrabIndex", null, null, 11, "MSC_09" },
                    { "1764c738ae6a4d51a37b03c20ff39283", "M09G10_VaneGrabIndex", null, null, 10, "MSC_09" },
                    { "197f25ae83e64675927bd7debf3175a3", "M09G23_VaneGrabIndex", null, null, 23, "MSC_09" },
                    { "6bca7132281e45dea4507f36e9a88b45", "M06G01_VaneGrabIndex", null, null, 1, "MSC_06" },
                    { "744b9778bdb847b18b0efc5eab12977a", "M06G23_VaneGrabIndex", null, null, 23, "MSC_06" },
                    { "e556df08658c44ba94b85fa0c7dbde43", "M05G49_VaneGrabIndex", null, null, 49, "MSC_05" },
                    { "a8ec699acabc40d7b66d92150aa2c3d6", "M02G40_VaneGrabIndex", null, null, 40, "MSC_02" },
                    { "afa9d261eb4543218bba6c25cb9b6473", "M02G39_VaneGrabIndex", null, null, 39, "MSC_02" },
                    { "f3196567f3674811a0d6da92e2d3b4bd", "M02G38_VaneGrabIndex", null, null, 38, "MSC_02" },
                    { "94c9e6d0f6df42338b2d6ecb965584be", "M02G37_VaneGrabIndex", null, null, 37, "MSC_02" },
                    { "66cfd1cc6cfa40dc8c671f85f02e6030", "M02G36_VaneGrabIndex", null, null, 36, "MSC_02" },
                    { "368fed8766f94eceb1b091016ee60a96", "M02G35_VaneGrabIndex", null, null, 35, "MSC_02" },
                    { "90e7299ad11c49bdaae8ff17359b6048", "M02G34_VaneGrabIndex", null, null, 34, "MSC_02" },
                    { "134d5daeddf5454db7887879aa98d09e", "M02G33_VaneGrabIndex", null, null, 33, "MSC_02" },
                    { "f8ce6682bf664dd198a3cd30070d36e3", "M02G32_VaneGrabIndex", null, null, 32, "MSC_02" },
                    { "4df1b0ccafa94987a0114812c8947920", "M02G31_VaneGrabIndex", null, null, 31, "MSC_02" },
                    { "b63abe6d092842ab865cef4bc1c624e3", "M05G50_VaneGrabIndex", null, null, 50, "MSC_05" },
                    { "118509ae64be41f4a7191b5f35d22bc9", "M02G29_VaneGrabIndex", null, null, 29, "MSC_02" },
                    { "9194a6a4fcc94a1d9704e0d186c926ee", "M02G28_VaneGrabIndex", null, null, 28, "MSC_02" },
                    { "c79f0d7d936f4bf1adf7f73c372dff5e", "M02G27_VaneGrabIndex", null, null, 27, "MSC_02" },
                    { "0c7a7779827743c3963763343d8d9125", "M02G26_VaneGrabIndex", null, null, 26, "MSC_02" },
                    { "449e5b7b715f44968552acc078b4c1cb", "M02G25_VaneGrabIndex", null, null, 25, "MSC_02" },
                    { "b78070eb0eeb4d4bafac64b04b8a080b", "M02G24_VaneGrabIndex", null, null, 24, "MSC_02" },
                    { "940bcbdc6cb7406e99b92a8d2f926e6a", "M02G23_VaneGrabIndex", null, null, 23, "MSC_02" },
                    { "97e21c4b5fa245ad86f8d19bcb8a0dd1", "M02G22_VaneGrabIndex", null, null, 22, "MSC_02" },
                    { "b7b9f8d4b1484d96ba1e0960c5f80cb2", "M02G21_VaneGrabIndex", null, null, 21, "MSC_02" },
                    { "e1859f0c3b7941d1a45723071f6fbe63", "M02G20_VaneGrabIndex", null, null, 20, "MSC_02" },
                    { "1bb40b98a20c480a966de812955c3f41", "M02G19_VaneGrabIndex", null, null, 19, "MSC_02" },
                    { "fc9ec93e560c465c9b3311e31c072e99", "M02G18_VaneGrabIndex", null, null, 18, "MSC_02" },
                    { "05dc27e1013b489abaacec9793aea9db", "M02G17_VaneGrabIndex", null, null, 17, "MSC_02" },
                    { "dcba616356f54b52a9b2cb5cadbc7ea6", "M02G16_VaneGrabIndex", null, null, 16, "MSC_02" },
                    { "770e2ef9e0264039bc2b04c1fe0f84cc", "M02G15_VaneGrabIndex", null, null, 15, "MSC_02" },
                    { "a4b6507f4f0441d2b736a8e2edeb353f", "M02G14_VaneGrabIndex", null, null, 14, "MSC_02" },
                    { "69bd115112df44ff90e7893a48e51fab", "M02G41_VaneGrabIndex", null, null, 41, "MSC_02" },
                    { "ebf65e404dbf4b2397de724f8c504e95", "M02G42_VaneGrabIndex", null, null, 42, "MSC_02" },
                    { "d164f2ae5369464984bae912d8c123d3", "M02G43_VaneGrabIndex", null, null, 43, "MSC_02" },
                    { "9dac7e5bd14d479a80841b387341dbed", "M02G44_VaneGrabIndex", null, null, 44, "MSC_02" },
                    { "4634708c1ba2485da3f19b8d4aca0768", "M03G22_VaneGrabIndex", null, null, 22, "MSC_03" },
                    { "f360f840a68f48dcadafb729b148f9d0", "M03G21_VaneGrabIndex", null, null, 21, "MSC_03" },
                    { "ced29a893e1c452cb9c47ac4ea756aee", "M03G20_VaneGrabIndex", null, null, 20, "MSC_03" },
                    { "61ba31a1e0e242d78f48a0c9616ceb42", "M03G19_VaneGrabIndex", null, null, 19, "MSC_03" },
                    { "c9c6b5c03b1e4d7bab7e9f01f420dc53", "M03G18_VaneGrabIndex", null, null, 18, "MSC_03" },
                    { "59ecab86c293497f9ea23605dadb2933", "M03G17_VaneGrabIndex", null, null, 17, "MSC_03" }
                });

            migrationBuilder.InsertData(
                table: "MaterielSortingIssued",
                columns: new[] { "Id", "CollectorAddress", "CreateUserId", "ModifyUserId", "SequenceIndex", "SortingConfigId" },
                values: new object[,]
                {
                    { "5a43999d2d964e30a09f89480fd54b90", "M03G16_VaneGrabIndex", null, null, 16, "MSC_03" },
                    { "55b185b9052e4624b99573181f8ae7ef", "M03G15_VaneGrabIndex", null, null, 15, "MSC_03" },
                    { "ad14e92a2881446682deffa734e4617b", "M03G14_VaneGrabIndex", null, null, 14, "MSC_03" },
                    { "cfb86bf6dda04948a43a8e80f2eaabec", "M03G13_VaneGrabIndex", null, null, 13, "MSC_03" },
                    { "f4e22cbd350d42feacc4a10f6399c781", "M03G12_VaneGrabIndex", null, null, 12, "MSC_03" },
                    { "4f90b9a212ee48538264109b59576b3a", "M03G11_VaneGrabIndex", null, null, 11, "MSC_03" },
                    { "5d6ae241a3894d519872c593b0566d22", "M03G10_VaneGrabIndex", null, null, 10, "MSC_03" },
                    { "696aec55b3d649019c145456d5d74311", "M02G13_VaneGrabIndex", null, null, 13, "MSC_02" },
                    { "e7e19ee2f22e429aacaa78bfe297dce7", "M03G09_VaneGrabIndex", null, null, 9, "MSC_03" },
                    { "7937f54e27954c0d82324b75f6edac7a", "M03G07_VaneGrabIndex", null, null, 7, "MSC_03" },
                    { "3039e964fd714880987cd3e2309e83fa", "M03G06_VaneGrabIndex", null, null, 6, "MSC_03" },
                    { "57719cde3f534ddfaaac26b8fad20c4f", "M03G05_VaneGrabIndex", null, null, 5, "MSC_03" },
                    { "9a381e4084e647489e056d43dd92a84a", "M03G04_VaneGrabIndex", null, null, 4, "MSC_03" },
                    { "fffc283654194dd0ad8bdc03c6c54faf", "M03G03_VaneGrabIndex", null, null, 3, "MSC_03" },
                    { "3a32c289b8b3432483012dd68bd4e994", "M03G02_VaneGrabIndex", null, null, 2, "MSC_03" },
                    { "7866834e68e346018c375a9c213d024b", "M03G01_VaneGrabIndex", null, null, 1, "MSC_03" },
                    { "6571ff4b39a24d44a6a66010de5f9af0", "M02G50_VaneGrabIndex", null, null, 50, "MSC_02" },
                    { "01dab5ded386442d911aebea2ffa1116", "M02G49_VaneGrabIndex", null, null, 49, "MSC_02" },
                    { "6e0c0f0cffbc4f37bb77548c2d1dd3d1", "M02G48_VaneGrabIndex", null, null, 48, "MSC_02" },
                    { "56ef0e0523d7447cbed5c10db7ad0467", "M02G47_VaneGrabIndex", null, null, 47, "MSC_02" },
                    { "23c45021f1c745a48d83da9e8be0a43d", "M02G46_VaneGrabIndex", null, null, 46, "MSC_02" },
                    { "c4bd8dffcdb04a24b52a0b13a0f2db4a", "M02G45_VaneGrabIndex", null, null, 45, "MSC_02" },
                    { "5ab81ddbb86f4ce5b10b33bd0a57e19e", "M03G08_VaneGrabIndex", null, null, 8, "MSC_03" },
                    { "62b9dd5bc6ae4f629bb9d102702eb40e", "M03G23_VaneGrabIndex", null, null, 23, "MSC_03" },
                    { "306818c74e8e4c3f9003ea61742fb5fa", "M02G12_VaneGrabIndex", null, null, 12, "MSC_02" },
                    { "8739857b45ea4045bddcd68546c02995", "M02G10_VaneGrabIndex", null, null, 10, "MSC_02" },
                    { "86c47c31f3aa40dfa566f3e0e47819c6", "M01G27_VaneGrabIndex", null, null, 27, "MSC_01" },
                    { "ec7624ca6a07489cb649e76853abe23d", "M01G26_VaneGrabIndex", null, null, 26, "MSC_01" },
                    { "94b49d8a147a452e9324e003457695b0", "M01G25_VaneGrabIndex", null, null, 25, "MSC_01" },
                    { "6cc83460dd034bbea429344bf680f8a9", "M01G24_VaneGrabIndex", null, null, 24, "MSC_01" },
                    { "f51b158be8be4f10ad3f12d20e8586ef", "M01G23_VaneGrabIndex", null, null, 23, "MSC_01" },
                    { "4cbeb52588044a2bb1f7c4290d8a3984", "M01G22_VaneGrabIndex", null, null, 22, "MSC_01" },
                    { "49e224f7a44f484da447cb3920eb02be", "M01G21_VaneGrabIndex", null, null, 21, "MSC_01" },
                    { "d7a6dd65954b4abc850ae72378a1a564", "M01G20_VaneGrabIndex", null, null, 20, "MSC_01" },
                    { "8b4acf759e994b34a88b16292bc34fb4", "M01G19_VaneGrabIndex", null, null, 19, "MSC_01" },
                    { "8a8d813332a7462c8ed50244f1608555", "M01G18_VaneGrabIndex", null, null, 18, "MSC_01" },
                    { "73d73e38c58d4857901683d22b93c64e", "M01G17_VaneGrabIndex", null, null, 17, "MSC_01" },
                    { "915aad5983fd45e2a2a30167c0b436c0", "M01G16_VaneGrabIndex", null, null, 16, "MSC_01" },
                    { "22ca950945b34baa82d4ebcd3f95e36e", "M01G15_VaneGrabIndex", null, null, 15, "MSC_01" },
                    { "19e27151c1ab443d8b0f5af917483320", "M01G14_VaneGrabIndex", null, null, 14, "MSC_01" },
                    { "093f744facc04b53a3b188a2fead55fe", "M01G13_VaneGrabIndex", null, null, 13, "MSC_01" },
                    { "f05309805e4b44a4b3621f73f89da94a", "M01G12_VaneGrabIndex", null, null, 12, "MSC_01" },
                    { "7755ca0e1b8949e3b671b5ab484d4a5b", "M01G11_VaneGrabIndex", null, null, 11, "MSC_01" },
                    { "5d9eb7586a264bda9956494db11cfcd2", "M01G10_VaneGrabIndex", null, null, 10, "MSC_01" },
                    { "5fb497b003064b1dbf00c597acae066b", "M01G09_VaneGrabIndex", null, null, 9, "MSC_01" },
                    { "caf6b0ea5da54abbb834577c6f59f0ba", "M01G08_VaneGrabIndex", null, null, 8, "MSC_01" },
                    { "8e2e45b0a4134eb3963977dd41cd64c5", "M01G07_VaneGrabIndex", null, null, 7, "MSC_01" },
                    { "c4399270b8604f50b48c4b3ad058a273", "M01G06_VaneGrabIndex", null, null, 6, "MSC_01" },
                    { "e8f8fd2234be4cdcb5138101eadc6042", "M01G05_VaneGrabIndex", null, null, 5, "MSC_01" },
                    { "e1b1db8a9a7348adbd8ec5c522f0b04d", "M01G04_VaneGrabIndex", null, null, 4, "MSC_01" },
                    { "f020f5b1ede84cb198be492dfc06ae12", "M01G03_VaneGrabIndex", null, null, 3, "MSC_01" },
                    { "281bec2094d24471bb5c4e259900ab4d", "M01G02_VaneGrabIndex", null, null, 2, "MSC_01" },
                    { "5dd7f0c3c7b64feb8e1ad6773b7bb255", "M01G01_VaneGrabIndex", null, null, 1, "MSC_01" },
                    { "1a0c820b08e4484090b0246f8f04689f", "M01G28_VaneGrabIndex", null, null, 28, "MSC_01" },
                    { "26cc071e2a124ec1913c2728df4bd9fd", "M01G29_VaneGrabIndex", null, null, 29, "MSC_01" },
                    { "26a42b990678467fb8c5da9ce4695c5c", "M01G30_VaneGrabIndex", null, null, 30, "MSC_01" },
                    { "0a765e01bb2d4a96b0648ed3a3af9dd2", "M01G31_VaneGrabIndex", null, null, 31, "MSC_01" },
                    { "dee5dd21c72e477fb310892f3a151bcb", "M02G09_VaneGrabIndex", null, null, 9, "MSC_02" },
                    { "c32fd418920f497598e4c8cf58ab3a98", "M02G08_VaneGrabIndex", null, null, 8, "MSC_02" },
                    { "c2235d1d574d471897b956904525a4de", "M02G07_VaneGrabIndex", null, null, 7, "MSC_02" },
                    { "86c34c196f454fe3b44051bce28920b4", "M02G06_VaneGrabIndex", null, null, 6, "MSC_02" },
                    { "27f6a2516b8d4f1e9c9b58dae30fdd22", "M02G05_VaneGrabIndex", null, null, 5, "MSC_02" },
                    { "aae1c861121342c5aff6372a1312c6ae", "M02G04_VaneGrabIndex", null, null, 4, "MSC_02" },
                    { "f1e2bb81b1f341daa3ac69f923bbd484", "M02G03_VaneGrabIndex", null, null, 3, "MSC_02" },
                    { "7c566bc19c7e4cc89658a85691e18966", "M02G02_VaneGrabIndex", null, null, 2, "MSC_02" },
                    { "d1992dab87974f6cb8320878bfa77c7f", "M02G01_VaneGrabIndex", null, null, 1, "MSC_02" },
                    { "12ec9201069b4a118c6be4cf719718b9", "M01G50_VaneGrabIndex", null, null, 50, "MSC_01" },
                    { "2fbe92d3e2074295a066e248e019128e", "M01G49_VaneGrabIndex", null, null, 49, "MSC_01" },
                    { "eb123b86e71d4b2eb4c672a78dadfaff", "M01G48_VaneGrabIndex", null, null, 48, "MSC_01" },
                    { "d3db1d094689463fa3b0254d20b534c1", "M01G47_VaneGrabIndex", null, null, 47, "MSC_01" },
                    { "d71701b839da4d759f55873fcde5104f", "M02G11_VaneGrabIndex", null, null, 11, "MSC_02" },
                    { "0bca9d84660a4afb913e3295c1a3aa17", "M01G46_VaneGrabIndex", null, null, 46, "MSC_01" },
                    { "f279c28ac59440f1adbe4b4b68856e42", "M01G44_VaneGrabIndex", null, null, 44, "MSC_01" },
                    { "4abcb75df87d4a75a7b9ee1816ffaf15", "M01G43_VaneGrabIndex", null, null, 43, "MSC_01" },
                    { "bc6d484687754d80895e6f92d10754f1", "M01G42_VaneGrabIndex", null, null, 42, "MSC_01" },
                    { "3bd8c4011426436f8ccad48a1d129ed7", "M01G41_VaneGrabIndex", null, null, 41, "MSC_01" },
                    { "07c09df5dc6649949c89ed7b2ad51cea", "M01G40_VaneGrabIndex", null, null, 40, "MSC_01" },
                    { "940f4d06c31e4685ad015a771beaf948", "M01G39_VaneGrabIndex", null, null, 39, "MSC_01" },
                    { "aa079c0ab6974d4bb075e705c9a61918", "M01G38_VaneGrabIndex", null, null, 38, "MSC_01" },
                    { "8a3bdafc9c124499854bc7a028d3ddb4", "M01G37_VaneGrabIndex", null, null, 37, "MSC_01" },
                    { "1dc5d3498e154355a16100985a31c5c7", "M01G36_VaneGrabIndex", null, null, 36, "MSC_01" },
                    { "00434f2b413a4d589ad67bfa339226c5", "M01G35_VaneGrabIndex", null, null, 35, "MSC_01" },
                    { "597f876548a546dd8d0a7036530e7db9", "M01G34_VaneGrabIndex", null, null, 34, "MSC_01" },
                    { "fea6bc8ffed14737a9edb23ea065cdee", "M01G33_VaneGrabIndex", null, null, 33, "MSC_01" },
                    { "8e5ad97299244042b237b2a3ee68b70b", "M01G32_VaneGrabIndex", null, null, 32, "MSC_01" },
                    { "3d4744a92643437da48a5c5e8f8a59ca", "M01G45_VaneGrabIndex", null, null, 45, "MSC_01" },
                    { "227897730ccc49a5b9113ad07d78657b", "M03G24_VaneGrabIndex", null, null, 24, "MSC_03" },
                    { "24673887f4f84357a0d81b4f814f2b4e", "M02G30_VaneGrabIndex", null, null, 30, "MSC_02" },
                    { "59ff095660f64fe99d9dde77e8c6777f", "M03G26_VaneGrabIndex", null, null, 26, "MSC_03" },
                    { "7969d43231c14681b6daa0724d71e734", "M05G16_VaneGrabIndex", null, null, 16, "MSC_05" },
                    { "d558458a745d4793b38bfb421e4e495c", "M05G15_VaneGrabIndex", null, null, 15, "MSC_05" },
                    { "f6a7df117aef42e5affd4a2320a7a419", "M05G14_VaneGrabIndex", null, null, 14, "MSC_05" },
                    { "4a6e3947a6e24598a40b5643d1bd503b", "M05G13_VaneGrabIndex", null, null, 13, "MSC_05" },
                    { "efe12e24eea74ec1996960f7ba18fadd", "M05G12_VaneGrabIndex", null, null, 12, "MSC_05" },
                    { "89b72afc5462455584f9bcf8606e6996", "M05G11_VaneGrabIndex", null, null, 11, "MSC_05" },
                    { "917ce5c51e8e46788e396a4be3d9c98b", "M05G10_VaneGrabIndex", null, null, 10, "MSC_05" },
                    { "84fa5e821e0c48dc88326625dd893a94", "M05G09_VaneGrabIndex", null, null, 9, "MSC_05" },
                    { "556a4a3dde064befa067cc957fd7ae05", "M05G08_VaneGrabIndex", null, null, 8, "MSC_05" },
                    { "f0d4cb32639b4ed29f9aebda9249248d", "M05G07_VaneGrabIndex", null, null, 7, "MSC_05" },
                    { "67f6912e00b84a6b9d04b88cb8449fd3", "M05G06_VaneGrabIndex", null, null, 6, "MSC_05" },
                    { "7767a397147d43feb557ab4f5c3651e2", "M05G05_VaneGrabIndex", null, null, 5, "MSC_05" },
                    { "f2960d8666204a539ce331ec970465de", "M05G04_VaneGrabIndex", null, null, 4, "MSC_05" },
                    { "b00ff906f8124b948ddb78b29057161d", "M05G03_VaneGrabIndex", null, null, 3, "MSC_05" },
                    { "2221cfec1b974619a0c8c6b9284e8adb", "M05G02_VaneGrabIndex", null, null, 2, "MSC_05" },
                    { "95a90f1f99ed47818b9439dc10be0897", "M05G01_VaneGrabIndex", null, null, 1, "MSC_05" },
                    { "c5e7548127834696a8da8ce13ec90b10", "M04G50_VaneGrabIndex", null, null, 50, "MSC_04" },
                    { "ecf00f18984f4ec385231190db318cec", "M04G49_VaneGrabIndex", null, null, 49, "MSC_04" },
                    { "00a4588b65cb46248e3bc7052b92c0de", "M04G48_VaneGrabIndex", null, null, 48, "MSC_04" },
                    { "686d0e575ca8452ba149496546c01086", "M04G47_VaneGrabIndex", null, null, 47, "MSC_04" },
                    { "a5f5a9a0eae6496a94988dda69f5237f", "M04G46_VaneGrabIndex", null, null, 46, "MSC_04" },
                    { "64d5a034b9674222b85cfb442ff3526c", "M04G45_VaneGrabIndex", null, null, 45, "MSC_04" },
                    { "a74bc1925f244beaabec11dace2c8e7d", "M04G44_VaneGrabIndex", null, null, 44, "MSC_04" },
                    { "810222df32a148e2bb041211626374b4", "M04G43_VaneGrabIndex", null, null, 43, "MSC_04" },
                    { "eaf7672cc131418bb35fbcb2c087c01c", "M04G42_VaneGrabIndex", null, null, 42, "MSC_04" },
                    { "26efb2fcbbb64b3fb359e746515698d0", "M04G41_VaneGrabIndex", null, null, 41, "MSC_04" },
                    { "074ec01289f04ba2bc0a054c86171e87", "M04G40_VaneGrabIndex", null, null, 40, "MSC_04" },
                    { "0d000a6a814a45219f1fb33bfa8499d2", "M05G17_VaneGrabIndex", null, null, 17, "MSC_05" },
                    { "b29f8daa8fc541679e56582a5730182b", "M05G18_VaneGrabIndex", null, null, 18, "MSC_05" },
                    { "37f502f55c0f416790838391d0b78452", "M05G19_VaneGrabIndex", null, null, 19, "MSC_05" },
                    { "c7829f70fcf64677b8d67c7bc5b1a077", "M05G20_VaneGrabIndex", null, null, 20, "MSC_05" },
                    { "fcb9022f2fe54b34a7a2bfba3965e185", "M05G48_VaneGrabIndex", null, null, 48, "MSC_05" },
                    { "816e417b8cc8452a8f55b369309d6fa0", "M05G47_VaneGrabIndex", null, null, 47, "MSC_05" },
                    { "1f3c180df87249a79dfca4abf8581154", "M05G46_VaneGrabIndex", null, null, 46, "MSC_05" },
                    { "0183b53a9ee540d283236a33ddc230ac", "M05G45_VaneGrabIndex", null, null, 45, "MSC_05" },
                    { "0e0d7d712a0a4986aaf0b9bedfc8a7b6", "M05G44_VaneGrabIndex", null, null, 44, "MSC_05" },
                    { "dcc590d9c807401792a814e32ef777ed", "M05G43_VaneGrabIndex", null, null, 43, "MSC_05" },
                    { "a408efa4dbdc45ebbbfb9fba0aeb7262", "M05G42_VaneGrabIndex", null, null, 42, "MSC_05" },
                    { "4d89ff168d2e45f9ab1f7cf0a10b8916", "M05G41_VaneGrabIndex", null, null, 41, "MSC_05" },
                    { "b3f34feb38a84aefbf1c57214e18d6e0", "M05G40_VaneGrabIndex", null, null, 40, "MSC_05" },
                    { "60d90ff6fa7542a0850cd7d46974d5ea", "M05G39_VaneGrabIndex", null, null, 39, "MSC_05" },
                    { "28cd4ddb740c4a27bf11861c7d684450", "M05G38_VaneGrabIndex", null, null, 38, "MSC_05" },
                    { "254da18bdc80491184f4b4fab53e6a99", "M05G37_VaneGrabIndex", null, null, 37, "MSC_05" },
                    { "1b326c1745e944f7b12c0fde34a8c746", "M05G36_VaneGrabIndex", null, null, 36, "MSC_05" },
                    { "b70e369b3ae44ceabacd5827369d5c69", "M04G39_VaneGrabIndex", null, null, 39, "MSC_04" },
                    { "fd969478d20a490e83f0d2cb07e44ffe", "M05G35_VaneGrabIndex", null, null, 35, "MSC_05" },
                    { "29fd5cf4b0c241cda5a4517a44dd052e", "M05G33_VaneGrabIndex", null, null, 33, "MSC_05" },
                    { "bf1b61d12fe54dfea7ab292e2991dfd9", "M03G25_VaneGrabIndex", null, null, 25, "MSC_03" },
                    { "3e2fef83d5bb4518abef458ff6b29bc2", "M05G31_VaneGrabIndex", null, null, 31, "MSC_05" },
                    { "2cf797787eac4d87b1584bb7bc6f873d", "M05G30_VaneGrabIndex", null, null, 30, "MSC_05" },
                    { "c6aba97990eb46e581543af49541ab3f", "M05G29_VaneGrabIndex", null, null, 29, "MSC_05" },
                    { "4500b59788544417a6f9aad23b540edc", "M05G28_VaneGrabIndex", null, null, 28, "MSC_05" },
                    { "6e8cbcb0aac542d2bba98ad331c5051e", "M05G27_VaneGrabIndex", null, null, 27, "MSC_05" },
                    { "a2a0309ebc564e1aaaf991f221a15a1b", "M05G26_VaneGrabIndex", null, null, 26, "MSC_05" },
                    { "356cc34589164571a5dd9b79c076adf4", "M05G25_VaneGrabIndex", null, null, 25, "MSC_05" },
                    { "ccb385c2b12c49ed974ad796d648c8e3", "M05G24_VaneGrabIndex", null, null, 24, "MSC_05" },
                    { "d0202628d7bc44768be6226fa26e7a12", "M05G23_VaneGrabIndex", null, null, 23, "MSC_05" },
                    { "68f984c3b84649b6af80049cd144a149", "M05G22_VaneGrabIndex", null, null, 22, "MSC_05" },
                    { "08eeb2166335458dbbb1716a3aac3f2a", "M05G21_VaneGrabIndex", null, null, 21, "MSC_05" },
                    { "558d9b9a2ee5408e8a1568a1227db78a", "M05G34_VaneGrabIndex", null, null, 34, "MSC_05" },
                    { "5a5620893dcb444aa36494790fc959e3", "M04G38_VaneGrabIndex", null, null, 38, "MSC_04" },
                    { "bd52078631e54d638a26b2e10c94fbec", "M05G32_VaneGrabIndex", null, null, 32, "MSC_05" },
                    { "13eb44e73d144b5e88bc27e6abb0790b", "M04G36_VaneGrabIndex", null, null, 36, "MSC_04" },
                    { "b69fc0a7f374474c9ee893c5a078444b", "M04G03_VaneGrabIndex", null, null, 3, "MSC_04" },
                    { "e5da05a884474e039f0539914d8f4a01", "M04G02_VaneGrabIndex", null, null, 2, "MSC_04" },
                    { "b51b841668604a1d851f7f58c9695efe", "M04G01_VaneGrabIndex", null, null, 1, "MSC_04" },
                    { "35547f72aba44968b1570e09ecc9c93f", "M03G50_VaneGrabIndex", null, null, 50, "MSC_03" },
                    { "1449d85b99ab4895a837ee9f38c86072", "M03G49_VaneGrabIndex", null, null, 49, "MSC_03" },
                    { "9053960d5cdf4a33a09ba137e11c3ef2", "M03G48_VaneGrabIndex", null, null, 48, "MSC_03" },
                    { "cc1fa029e7964a6a8475052902b375c5", "M03G47_VaneGrabIndex", null, null, 47, "MSC_03" },
                    { "1c2716947d4e4a69ba15f88e8387313e", "M03G46_VaneGrabIndex", null, null, 46, "MSC_03" },
                    { "8049e5f92b8f49ab87aec60ab0caf3ef", "M03G45_VaneGrabIndex", null, null, 45, "MSC_03" },
                    { "933b69b2fbd04ffeacfe7f0a71e8886b", "M03G44_VaneGrabIndex", null, null, 44, "MSC_03" },
                    { "d9a40362709c446c8cc8f43922d2758d", "M03G43_VaneGrabIndex", null, null, 43, "MSC_03" },
                    { "b66dc670536647948d23a845bfa5a538", "M03G42_VaneGrabIndex", null, null, 42, "MSC_03" },
                    { "04d91a927a484ba88c103c96ee840b49", "M03G41_VaneGrabIndex", null, null, 41, "MSC_03" },
                    { "8a51b94ac4da4f6288e62f6128e6ef23", "M03G40_VaneGrabIndex", null, null, 40, "MSC_03" },
                    { "4f54fbdc4f654a349bf58da49304228b", "M03G39_VaneGrabIndex", null, null, 39, "MSC_03" },
                    { "3345930b2bda4603a7270d57a9886407", "M03G38_VaneGrabIndex", null, null, 38, "MSC_03" },
                    { "9bceaae2e7b249d6b355c9e989db24d3", "M03G36_VaneGrabIndex", null, null, 36, "MSC_03" },
                    { "9d7e126e21f44907b4b2875e0b520dc3", "M03G35_VaneGrabIndex", null, null, 35, "MSC_03" },
                    { "c1c9776c4b1a4f43bdefb89d6305aaca", "M03G34_VaneGrabIndex", null, null, 34, "MSC_03" },
                    { "a5ee25edf77841af858fbc15c55ffaac", "M03G33_VaneGrabIndex", null, null, 33, "MSC_03" },
                    { "0b3f20b66c954cb2a7254540cfba010e", "M03G32_VaneGrabIndex", null, null, 32, "MSC_03" },
                    { "843ec09010ff48af8ec3afb9788d1528", "M03G31_VaneGrabIndex", null, null, 31, "MSC_03" },
                    { "eb877b754b5643caac9cea81ada43fd9", "M03G30_VaneGrabIndex", null, null, 30, "MSC_03" },
                    { "5174e4a8553449138d173196915287a9", "M03G29_VaneGrabIndex", null, null, 29, "MSC_03" },
                    { "c3d9b8f76bd541d1b74077c9382c29ae", "M03G28_VaneGrabIndex", null, null, 28, "MSC_03" },
                    { "4d33b3b47f164bb1b67288f2eac47bce", "M03G27_VaneGrabIndex", null, null, 27, "MSC_03" },
                    { "0fbae8c71b1f4ba98df720dd25a8877c", "M04G37_VaneGrabIndex", null, null, 37, "MSC_04" },
                    { "092f17c67923474191d9d97ff29d1f8f", "M04G04_VaneGrabIndex", null, null, 4, "MSC_04" },
                    { "8355418ae5e24966871fc225f73e7abb", "M04G05_VaneGrabIndex", null, null, 5, "MSC_04" },
                    { "1a3b3eb02bbc488098a0f77da2b4c438", "M03G37_VaneGrabIndex", null, null, 37, "MSC_03" },
                    { "498a60083db0447497c079b7560d45e4", "M04G07_VaneGrabIndex", null, null, 7, "MSC_04" },
                    { "e61e610a789847d79c838002734c9031", "M04G35_VaneGrabIndex", null, null, 35, "MSC_04" },
                    { "1ef9e8cb74d246d2b7aa7698a0a8245c", "M04G06_VaneGrabIndex", null, null, 6, "MSC_04" },
                    { "e15ba604bb0b40d483203b41fae7489d", "M04G34_VaneGrabIndex", null, null, 34, "MSC_04" },
                    { "f91f4c9f5d20401f960b25f9965aa35e", "M04G33_VaneGrabIndex", null, null, 33, "MSC_04" },
                    { "33c7df8ff77f4285bcddd0fd4a83c438", "M04G32_VaneGrabIndex", null, null, 32, "MSC_04" },
                    { "09936c27e972477e9922f31402906bcc", "M04G31_VaneGrabIndex", null, null, 31, "MSC_04" },
                    { "62d5fde1fd25421085ed1fae3c38a8d9", "M04G30_VaneGrabIndex", null, null, 30, "MSC_04" },
                    { "d58ef900255f4df28df729be16ed39b4", "M04G28_VaneGrabIndex", null, null, 28, "MSC_04" },
                    { "0376fda5f27046969bb8590d73e72e15", "M04G27_VaneGrabIndex", null, null, 27, "MSC_04" },
                    { "82dd8898577d418280cc9ce9835c8f4d", "M04G26_VaneGrabIndex", null, null, 26, "MSC_04" },
                    { "ed6a37a9f7094c449ffc19fdf06781c9", "M04G25_VaneGrabIndex", null, null, 25, "MSC_04" },
                    { "212e4dd439e64e8b828caf5c5982a012", "M04G24_VaneGrabIndex", null, null, 24, "MSC_04" },
                    { "f06b474ae78841b78192dee080d59948", "M04G23_VaneGrabIndex", null, null, 23, "MSC_04" },
                    { "fea1758c8f7f4980967350e2f0dd5c7b", "M04G22_VaneGrabIndex", null, null, 22, "MSC_04" },
                    { "729e6721d54642eeb3bcbe25b7845bd5", "M04G29_VaneGrabIndex", null, null, 29, "MSC_04" },
                    { "94b105f1730b43c98facec955a69b860", "M04G20_VaneGrabIndex", null, null, 20, "MSC_04" },
                    { "f3d971e9cbc0408fb5cafb9295d485d3", "M04G19_VaneGrabIndex", null, null, 19, "MSC_04" },
                    { "d9feb492934f4af78311101baec153b1", "M04G18_VaneGrabIndex", null, null, 18, "MSC_04" },
                    { "6405c51b3fbc4cb7a1f7e7d257c5dd50", "M04G08_VaneGrabIndex", null, null, 8, "MSC_04" },
                    { "a0387e5aa51c45db828e7a4eb12233de", "M04G17_VaneGrabIndex", null, null, 17, "MSC_04" },
                    { "d7ed75073359479aa944063187240474", "M04G16_VaneGrabIndex", null, null, 16, "MSC_04" },
                    { "32d6379197b1460f80ab4d665b84bb16", "M04G15_VaneGrabIndex", null, null, 15, "MSC_04" },
                    { "763afccb8bda4c17920d827f4c818d99", "M04G09_VaneGrabIndex", null, null, 9, "MSC_04" },
                    { "27a4d767cdc04f7f8da39e478191c3c3", "M04G21_VaneGrabIndex", null, null, 21, "MSC_04" },
                    { "439428bdcf9640488b7bf91fdbe6c11f", "M04G14_VaneGrabIndex", null, null, 14, "MSC_04" },
                    { "6491d953304541c19530a49510f48e0f", "M04G13_VaneGrabIndex", null, null, 13, "MSC_04" },
                    { "7133bc4be6cc4243a7a01e037173ab86", "M04G12_VaneGrabIndex", null, null, 12, "MSC_04" },
                    { "9a548da6c8ca4142a56b83327ef59d86", "M04G11_VaneGrabIndex", null, null, 11, "MSC_04" },
                    { "df83a1d59b504dd58dadc8b820d67736", "M04G10_VaneGrabIndex", null, null, 10, "MSC_04" }
                });

            migrationBuilder.InsertData(
                table: "MaterielType",
                columns: new[] { "Id", "Code", "CreateTime", "CreateUserId", "Desc", "ModifyTime", "ModifyUserId", "Name" },
                values: new object[,]
                {
                    { "YCL", "YCL", new DateTime(2022, 5, 10, 15, 43, 6, 135, DateTimeKind.Local).AddTicks(6146), "1", "线外原材料", new DateTime(2022, 5, 10, 15, 43, 6, 135, DateTimeKind.Local).AddTicks(6220), "1", "原材料" },
                    { "XLZJ", "XLZJ", new DateTime(2022, 5, 10, 15, 45, 6, 135, DateTimeKind.Local).AddTicks(6227), "1", "生产工位下线的产品组成部件（半成品）", new DateTime(2022, 5, 10, 15, 45, 6, 135, DateTimeKind.Local).AddTicks(6229), "1", "线内组件" },
                    { "CP", "CP", new DateTime(2022, 5, 10, 15, 42, 6, 135, DateTimeKind.Local).AddTicks(6046), "1", "本生产线下线的成品", new DateTime(2022, 5, 10, 15, 42, 6, 135, DateTimeKind.Local).AddTicks(6063), "1", "产品" }
                });

            migrationBuilder.InsertData(
                table: "ResponseVarToMPCodeConfig",
                columns: new[] { "Id", "Code", "CreateTime", "CreateUserId", "DispathPathCode", "DispathPathConfigId", "Key", "ModifyUserId", "PathType", "ReadOrWriteType", "SignalType", "TaskType", "WorkPieceType" },
                values: new object[,]
                {
                    { "37d8a2cc28fb4930a6cc2a2b9bff83cc", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7257), null, null, null, "S7Net.LSZD1.WriteCentreMoveIn_Finish", null, null, 1, 9, null, null },
                    { "1bcb41f92a324fe59bcc4a94904eb666", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7253), null, null, null, "S7Net.LSZD1.WriteCentreMoveIn_RequestIn", null, null, 1, 6, null, null },
                    { "8d21991fbb484502a67e4c8b6fd97d73", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7247), null, null, null, "S7Net.LSZD1.WriteCentreMoveIn_ProductType", null, null, 1, 4, null, null },
                    { "76968311f30d46fbb80fcf2ca0854e27", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7243), null, null, null, "S7Net.LSZD1.WriteCentreMoveIn_TaskExecuting", null, null, 1, 3, null, null },
                    { "e2ea51f2a46e45ccab37b201da1d78fa", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7196), null, null, null, "S7Net.LSZD1.WriteMid_CalfMoveIn_TaskExecuting", null, null, 1, 3, null, null },
                    { "db93909a42c1496da981801ea1b90382", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7239), null, null, null, "S7Net.LSZD1.ReadCentreMoveIn_FinishAffirm", null, null, 0, 2, null, null },
                    { "87613bf3ec4f447a99bca8e0114afece", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7235), null, null, null, "S7Net.LSZD1.ReadCentreMoveIn_AdmissionIn", null, null, 0, 1, null, null },
                    { "8cfbbb5fae8e4441b5ac6d91c8072a21", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7231), null, null, null, "S7Net.LSZD1.ReadCentreMoveIn_ProductType", null, null, 0, 4, null, null },
                    { "3eaee4bf417248f7aac5b3a231d5720c", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7227), null, "s_r5", null, "S7Net.LSZD1.ReadBeforeMoveIn_Request", null, 1, 0, null, "F0003", 3 },
                    { "8b70da8c35f941909c26397e2253aadc", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7218), null, "s_r3", null, "S7Net.LSZD1.ReadBeforeMoveIn_Request", null, 1, 0, null, "F0003", 3 },
                    { "b5ee9f540e864602819ae056c3678546", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7212), null, "s_r2", null, "S7Net.LSZD1.ReadBeforeMoveIn_Request", null, 1, 0, null, "F0003", 3 },
                    { "91a260d5a8474aee9a8875635ab4257f", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7208), null, null, null, "S7Net.LSZD1.WriteMid_CalfMoveIn_Finish", null, null, 1, 9, null, null },
                    { "ac0efa35f2c441d892fa476a1c066621", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7204), null, null, null, "S7Net.LSZD1.WriteMid_CalfMoveIn_RequestIn", null, null, 1, 6, null, null },
                    { "bea39c9633214ee39002f0bc9b7f1451", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7192), null, null, null, "S7Net.LSZD1.ReadMid_CalfMoveIn_FinishAffirm", null, null, 0, 2, null, null },
                    { "f6b49a10f10e44678358d60a0c46e453", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7200), null, null, null, "S7Net.LSZD1.WriteMid_CalfMoveIn_ProductType", null, null, 1, 4, null, null },
                    { "520c7cc3290542d689f00b9fcc599167", "R1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7222), null, "s_r4", null, "S7Net.LSZD1.ReadBeforeMoveIn_Request", null, 1, 0, null, "F0003", 3 },
                    { "fce29770286444b8a8dadc815971e160", "O2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7261), null, "s_o2", null, "S7Net.LSZD2.ReadCentreMoveIn_Request", null, 1, 0, null, "F0003", 1 },
                    { "c55d24a742964dea9b7ee4b4402e5f92", "R2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7337), null, "s_r3", null, "S7Net.LSZD2.ReadBeforeMoveIn_Request", null, 1, 0, null, "F0003", 3 },
                    { "d340bb2db1b942d98a6a463f5332d02f", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7270), null, "s_o4", null, "S7Net.LSZD2.ReadCentreMoveIn_Request", null, 1, 0, null, "F0003", 1 },
                    { "1ba630ff12864775b5d8c53522140451", "R2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7346), null, "s_r5", null, "S7Net.LSZD2.ReadBeforeMoveIn_Request", null, 1, 0, null, "F0003", 3 },
                    { "abdffa0c920e4921af8570dcfbc00727", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7187), null, null, null, "S7Net.LSZD1.ReadMid_CalfMoveIn_AdmissionIn", null, null, 0, 1, null, null },
                    { "89ee4e45796340f8b7f40b00621da771", "R2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7341), null, "s_r4", null, "S7Net.LSZD2.ReadBeforeMoveIn_Request", null, 1, 0, null, "F0003", 3 },
                    { "ce70f65394754304823b4a6843a310b9", "R2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7333), null, "s_r2", null, "S7Net.LSZD2.ReadBeforeMoveIn_Request", null, 1, 0, null, "F0003", 3 },
                    { "ea55d72b9e404b5baef1634dde08882d", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7329), null, "s_p5", null, "S7Net.LSZD2.ReadMid_CalfMoveIn_Request", null, 1, 0, null, "F0003", 2 },
                    { "0272918fc826451e8f31261c7593d292", "P2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7323), null, "s_p4", null, "S7Net.LSZD2.ReadMid_CalfMoveIn_Request", null, 1, 0, null, "F0003", 2 },
                    { "4c2a470505a54868905b6cca360a6d9e", "P2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7319), null, "s_p3", null, "S7Net.LSZD2.ReadMid_CalfMoveIn_Request", null, 1, 0, null, "F0003", 2 },
                    { "303404902f6647489a559ed7f573b07c", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7265), null, "s_o3", null, "S7Net.LSZD2.ReadCentreMoveIn_Request", null, 1, 0, null, "F0003", 1 },
                    { "fa3b167950fb40d1927e635b9865a3a6", "P2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7315), null, "s_p2", null, "S7Net.LSZD2.ReadMid_CalfMoveIn_Request", null, 1, 0, null, "F0003", 2 },
                    { "72442f5893d24a9f979337522a954ee5", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7307), null, null, null, "S7Net.LSZD2.WriteCentreMoveIn_RequestIn", null, null, 1, 6, null, null },
                    { "7240b1058553460bb976ef9ee3d719aa", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7301), null, null, null, "S7Net.LSZD2.WriteCentreMoveIn_ProductType", null, null, 1, 4, null, null },
                    { "62f142d24f6b43e791a8172a9993ce88", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7297), null, null, null, "S7Net.LSZD2.WriteCentreMoveIn_TaskExecuting", null, null, 1, 3, null, null },
                    { "cd0a7587afaa47798a6e3fd5bf68dec0", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7292), null, null, null, "S7Net.LSZD2.ReadCentreMoveIn_FinishAffirm", null, null, 0, 2, null, null },
                    { "51f4e282bebf4ea794899ebbad31a168", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7286), null, null, null, "S7Net.LSZD2.ReadCentreMoveIn_AdmissionIn", null, null, 0, 1, null, null },
                    { "542e96913ef4446883e995b327a9b3ce", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7278), null, null, null, "S7Net.LSZD2.ReadCentreMoveIn_ProductType", null, null, 0, 4, null, null },
                    { "cecc6835d3d146f0a300e01ecd9f60a5", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7274), null, "s_o5", null, "S7Net.LSZD2.ReadCentreMoveIn_Request", null, 1, 0, null, "F0003", 1 },
                    { "88c2ad31a1274ec0b099d1182cbed54d", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7311), null, null, null, "S7Net.LSZD2.WriteCentreMoveIn_Finish", null, null, 1, 9, null, null },
                    { "0a41a965ad2e48098ae6b68f6b872910", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7183), null, null, null, "S7Net.LSZD1.ReadMid_CalfMoveIn_ProductType", null, null, 0, 4, null, null },
                    { "a0f1118aaab54256b28655ae8d84ebee", "n6", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6212), null, "N2", null, "S7Net.PBJYQ.ReadJYJ6MoveIn_Request", null, 2, 0, null, "S01", null },
                    { "482c5ec80781453eb3e8eb842f33371e", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7166), null, "p4", null, "S7Net.LSZD1.ReadMid_CalfMoveIn_Request", null, 1, 0, null, "F0003", 2 },
                    { "e25649c3eb7448368d4b5a3335e3e5bf", "n4", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6238), null, "N3", null, "S7Net.PBJYQ.ReadJYJ4MoveIn_Request", null, 1, 0, null, "S02", null },
                    { "2da01ed051ad4ed085a89276baaad54d", "n3", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6227), null, "N3", null, "S7Net.PBJYQ.ReadJYJ3MoveIn_Request", null, 1, 0, null, "S02", null },
                    { "493b33ffdf8a40d89e15241d1062d97d", "n2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6220), null, "N3", null, "S7Net.PBJYQ.ReadJYJ2MoveIn_Request", null, 1, 0, null, "S03", null },
                    { "fffec98bccd342f4aaa2677604b45c7f", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7177), null, "s_p5", null, "S7Net.LSZD1.ReadMid_CalfMoveIn_Request", null, 1, 0, null, "F0003", 2 },
                    { "91b9308117124c8b830f4c390ad71559", "n5", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6207), null, "N2", null, "S7Net.PBJYQ.ReadJYJ5MoveIn_Request", null, 2, 0, null, "S01", null },
                    { "a1624a9da23e4f778a42b49406c2c6e9", "n4", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6203), null, "N2", null, "S7Net.PBJYQ.ReadJYJ4MoveIn_Request", null, 2, 0, null, "S02", null },
                    { "7a5db92f31c7446eaed1d62b307c56f9", "n3", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6198), null, "N2", null, "S7Net.PBJYQ.ReadJYJ3MoveIn_Request", null, 2, 0, null, "S02", null },
                    { "8dac909802d64c55a699d4a21a0ce3c8", "n2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6193), null, "N2", null, "S7Net.PBJYQ.ReadJYJ2MoveIn_Request", null, 2, 0, null, "S03", null },
                    { "5279fc7268d247fa9cdb115e6aa629c7", "n1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6189), null, "N2", null, "S7Net.PBJYQ.ReadJYJ1MoveIn_Request", null, 2, 0, null, "S03", null },
                    { "8d144ee88d9041a5a43f57ab08cacfe8", "n6", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6175), null, "N1", null, "S7Net.PBJYQ.ReadJYJ6MoveIn_Request", null, 2, 0, null, "S01", null },
                    { "d05439664c0141b3af72c5ac73aaa037", "n5", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6167), null, "N1", null, "S7Net.PBJYQ.ReadJYJ5MoveIn_Request", null, 2, 0, null, "S01", null },
                    { "42e38a7995834bd28ac8d91f0c702987", "n4", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6163), null, "N1", null, "S7Net.PBJYQ.ReadJYJ4MoveIn_Request", null, 2, 0, null, "S02", null },
                    { "d8937283111649fdbf9fd73ab8c4c7e1", "n3", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6157), null, "N1", null, "S7Net.PBJYQ.ReadJYJ3MoveIn_Request", null, 2, 0, null, "S02", null },
                    { "713228e2f1fe4f7e8195de978de9c004", "n2", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6146), null, "N1", null, "S7Net.PBJYQ.ReadJYJ2MoveIn_Request", null, 2, 0, null, "S03", null },
                    { "e5314dcb075942ad8a683013ba8fc888", "n1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(4831), null, "N1", null, "S7Net.PBJYQ.ReadJYJ1MoveIn_Request", null, 2, 0, null, "S03", null },
                    { "565a1d4b0c824f1b971106b10d7a0b4e", "n5", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6243), null, "N3", null, "S7Net.PBJYQ.ReadJYJ5MoveIn_Request", null, 1, 0, null, "S01", null },
                    { "55c6f48620204e07aa00effff6888d0d", "n6", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6248), null, "N3", null, "S7Net.PBJYQ.ReadJYJ6MoveIn_Request", null, 1, 0, null, "S01", null },
                    { "10e56c220b6045f484c72ce0986aeb58", "n1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6216), null, "N3", null, "S7Net.PBJYQ.ReadJYJ1MoveIn_Request", null, 1, 0, null, "S03", null },
                    { "b288b3120595418db615553c5ed2d4e0", "N1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6257), null, "s_n2", null, "S7Net.ZFHJ.WeidingCall_AGV1", null, 1, 0, null, "S03", null },
                    { "ac19def2d6bd4bc3a67e05791130e2b5", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7161), null, "s_p3", null, "S7Net.LSZD1.ReadMid_CalfMoveIn_Request", null, 1, 0, null, "F0003", 2 },
                    { "be57c0dbbd7f466db3d632f903a30ea2", "N1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6253), null, "s_n1", null, "S7Net.ZFHJ.WeidingCall_AGV1", null, 1, 0, null, "S03", null },
                    { "7493107afa414c20b2d6faa4185a4cce", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7152), null, null, null, "S7Net.LSZD1.WriteCentreMoveIn_Finish", null, null, 1, 9, null, null }
                });

            migrationBuilder.InsertData(
                table: "ResponseVarToMPCodeConfig",
                columns: new[] { "Id", "Code", "CreateTime", "CreateUserId", "DispathPathCode", "DispathPathConfigId", "Key", "ModifyUserId", "PathType", "ReadOrWriteType", "SignalType", "TaskType", "WorkPieceType" },
                values: new object[,]
                {
                    { "c92dd1ede5e14a2693010be91d0bfa37", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7144), null, null, null, "S7Net.LSZD1.WriteCentreMoveIn_RequestIn", null, null, 1, 6, null, null },
                    { "7ae3437d6d1844c9afbc2ccbfa352795", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7139), null, null, null, "S7Net.LSZD1.WriteCentreMoveIn_ProductType", null, null, 1, 4, null, null },
                    { "1b359c8aa0fd4d0dbf205ec886652637", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7135), null, null, null, "S7Net.LSZD1.WriteCentreMoveIn_TaskExecuting", null, null, 1, 3, null, null },
                    { "269f167fde96462b81435f5d97a2d032", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7127), null, null, null, "S7Net.LSZD1.ReadCentreMoveIn_FinishAffirm", null, null, 0, 2, null, null },
                    { "d7a351832a6043b89716a3836ec597dc", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7119), null, null, null, "S7Net.LSZD1.ReadCentreMoveIn_AdmissionIn", null, null, 0, 1, null, null },
                    { "ba5b034ff17d46dd849d1656482f859d", "P1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(7156), null, "s_p2", null, "S7Net.LSZD1.ReadMid_CalfMoveIn_Request", null, 1, 0, null, "F0003", 2 },
                    { "3b3d616c67784f42af901f54b9942d1e", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6736), null, "s_o5", null, "S7Net.LSZD1.ReadCentreMoveIn_Request", null, 1, 0, null, "F0003", 1 },
                    { "4ca917c5257f4271bcafa3b2162cfddd", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6732), null, "s_o4", null, "S7Net.LSZD1.ReadCentreMoveIn_Request", null, 1, 0, null, "F0003", 1 },
                    { "110ac5fba01645dfabe7bdda28227899", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6724), null, "s_o3", null, "S7Net.LSZD1.ReadCentreMoveIn_Request", null, 1, 0, null, "F0003", 1 },
                    { "eaab7185b46341acbbf2901b6273f7f4", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6275), null, "s_o2", null, "S7Net.LSZD1.ReadCentreMoveIn_Request", null, 1, 0, null, "F0003", 1 },
                    { "fb7172d4e4b54dbfb3a2cc6497ee2bdb", "N1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6271), null, "s_n5", null, "S7Net.ZFHJ.WeidingCall_AGV1", null, 1, 0, null, "S03", null },
                    { "a487d6c27984487eb65a3d9a4fd5e3fa", "N1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6265), null, "s_n4", null, "S7Net.ZFHJ.WeidingCall_AGV1", null, 1, 0, null, "S03", null },
                    { "ad64fe21788e4c5c82cd0f8741bc9a03", "N1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6261), null, "s_n3", null, "S7Net.ZFHJ.WeidingCall_AGV1", null, 1, 0, null, "S03", null },
                    { "febac5979cdf4b26a203ac6515703d81", "O1", new DateTime(2022, 5, 10, 15, 42, 6, 190, DateTimeKind.Local).AddTicks(6741), null, null, null, "S7Net.LSZD1.ReadCentreMoveIn_ProductType", null, null, 0, 4, null, null }
                });

            migrationBuilder.InsertData(
                table: "Sys_Menu",
                columns: new[] { "Id", "Code", "Component", "CreateUserId", "Icon", "ModifyUserId", "Name", "ParentId", "Path", "Redirect", "Seq" },
                values: new object[,]
                {
                    { "900", "Sys", "RouteView", "1", "setting", "1", "系统管理", null, "/Sys", "/Sys/Sys_Org", 9 },
                    { "800", "Material", "RouteView", "1", "qrcode", "1", "物料管理", null, "/Define", "/Define/MaterielInfor", 8 },
                    { "700", "TeamManager", "RouteView", "1", "apartment", "1", "班组管理", null, "/Team", "/Define/Team", 7 },
                    { "600", "WorkshoManager", "RouteView", "1", "cluster", "1", "产线配置", null, "/Worksho", "/Define/Team", 6 },
                    { "400", "Exec", "RouteView", "1", "control", "1", "生产调度", null, "/Exec", "/Exec/Plan", 4 },
                    { "500", "Craft", "RouteView", "1", "bg-colors", "1", "生产工艺", null, "/Craft", "/Define/CraftStep", 5 }
                });

            migrationBuilder.InsertData(
                table: "Sys_Org",
                columns: new[] { "Id", "Code", "CreateUserId", "ModifyUserId", "Name", "ParentId" },
                values: new object[] { "1", "XCMG", "1", "1", "徐州徐工施维英机械有限公司", null });

            migrationBuilder.InsertData(
                table: "Sys_Role",
                columns: new[] { "Id", "CreateUserId", "ModifyUserId", "Name" },
                values: new object[,]
                {
                    { "5", "1", "1", "操作员" },
                    { "1", "1", "1", "系统管理员" },
                    { "2", "1", "1", "工段长" },
                    { "3", "1", "1", "工艺员" },
                    { "4", "1", "1", "班组长" }
                });

            migrationBuilder.InsertData(
                table: "Worksho",
                columns: new[] { "Id", "Code", "CreateUserId", "ModifyUserId", "Name" },
                values: new object[] { "JBTZDHSCX", "01.JBTZDHSCX", "1", "1", "搅拌桶自动化生产线" });

            migrationBuilder.InsertData(
                table: "CF_CodeRule",
                columns: new[] { "Id", "CodeTypeId", "CompanyId", "CreateUserId", "Length", "ModifyUserId", "Rule", "RuleType", "Sort" },
                values: new object[,]
                {
                    { "XCMG_CF_User_Code01", "XCMG_CF_User_Code", "XCMG", "1", 1, "1", "U", "Const", 1 },
                    { "XCMG_CF_User_Code02", "XCMG_CF_User_Code", "XCMG", "1", 4, "1", "", "Serial", 2 }
                });

            migrationBuilder.InsertData(
                table: "CF_EnumItem",
                columns: new[] { "Id", "Code", "CompanyId", "Config", "CreateUserId", "EnumId", "IsSystem", "ModifyUserId", "Name", "Remark", "Sort" },
                values: new object[,]
                {
                    { "XCMG_CF_CodeRule_Type03", "Serial", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "流水号", "", 3 },
                    { "XCMG_CF_CodeRule_Type04", "PerDay", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "流水号(日)", "", 4 },
                    { "XCMG_CF_CodeRule_Type05", "PerMonth", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "流水号(月)", "", 5 },
                    { "XCMG_CF_CodeRule_Type06", "PerYear", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "流水号(年)", "", 6 },
                    { "XCMG_CF_CodeRule_Type07", "Random", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "随机数", "", 7 },
                    { "XCMG_CF_CodeRule_Type08", "Parameter", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "参数", "", 8 },
                    { "XCMG_CF_CodeRule_Type09", "ParaSerial", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "流水号(参数)", "", 9 },
                    { "XCMG_State01", "Enable", "XCMG", null, "1", "XCMG_State", true, "1", "启用", "", 1 },
                    { "XCMG_State02", "Disable", "XCMG", null, "1", "XCMG_State", true, "1", "停用", "", 2 },
                    { "XCMG_Unit01", "EA", "XCMG", null, "1", "XCMG_Unit", true, "1", "默认", "", 1 },
                    { "XCMG_Unit02", "PL", "XCMG", null, "1", "XCMG_Unit", true, "1", "托", "", 2 }
                });

            migrationBuilder.InsertData(
                table: "CF_EnumItem",
                columns: new[] { "Id", "Code", "CompanyId", "Config", "CreateUserId", "EnumId", "ModifyUserId", "Name", "Remark", "Sort" },
                values: new object[,]
                {
                    { "XCMG_Unit03", "Box", "XCMG", null, "1", "XCMG_Unit", "1", "箱", "", 3 },
                    { "XCMG_Unit04", "Piece", "XCMG", null, "1", "XCMG_Unit", "1", "件", "", 4 },
                    { "XCMG_Unit05", "Package", "XCMG", null, "1", "XCMG_Unit", "1", "包", "", 5 }
                });

            migrationBuilder.InsertData(
                table: "CF_EnumItem",
                columns: new[] { "Id", "Code", "CompanyId", "Config", "CreateUserId", "EnumId", "IsSystem", "ModifyUserId", "Name", "Remark", "Sort" },
                values: new object[,]
                {
                    { "XCMG_UnitLevel01", "UL1", "XCMG", null, "1", "XCMG_UnitLevel", true, "1", "基本单位", "", 1 },
                    { "XCMG_UnitLevel02", "UL2", "XCMG", null, "1", "XCMG_UnitLevel", true, "1", "二级单位", "", 2 },
                    { "XCMG_UnitLevel03", "UL3", "XCMG", null, "1", "XCMG_UnitLevel", true, "1", "三级单位", "", 3 },
                    { "XCMG_UnitLevel04", "UL4", "XCMG", null, "1", "XCMG_UnitLevel", true, "1", "四级单位", "", 4 },
                    { "XCMG_Rotation01", "FIFO", "XCMG", null, "1", "XCMG_Rotation", true, "1", "先进先出", "", 1 },
                    { "XCMG_Rotation02", "LIFO", "XCMG", null, "1", "XCMG_Rotation", true, "1", "后进先出", "", 2 },
                    { "XCMG_SyncStatus01", "Active", "XCMG", null, "1", "XCMG_SyncStatus", true, "1", "未同步", "", 1 },
                    { "XCMG_SyncStatus02", "Synced", "XCMG", null, "1", "XCMG_SyncStatus", true, "1", "已同步", "", 2 },
                    { "XCMG_CF_CodeRule_Type01", "Const", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "常量", "", 1 },
                    { "XCMG_CF_Config_Type03", "Default", "XCMG", null, "1", "XCMG_CF_Config_Type", true, "1", "默认值配置", "", 3 },
                    { "XCMG_CF_CodeRule_Type02", "Date", "XCMG", null, "1", "XCMG_CF_CodeRule_Type", true, "1", "日期", "", 2 },
                    { "XCMG_CF_Config_Type01", "System", "XCMG", null, "1", "XCMG_CF_Config_Type", true, "1", "系统配置", "", 1 },
                    { "XCMG_StationType01", "Automatic", "XCMG", null, "1", "XCMG_StationType", true, "1", "全自动", "", 1 },
                    { "XCMG_StationType02", "SemiAutomatic", "XCMG", null, "1", "XCMG_StationType", true, "1", "半自动", "", 2 },
                    { "XCMG_StationType03", "Manual", "XCMG", null, "1", "XCMG_StationType", true, "1", "人工", "", 3 },
                    { "XCMG_EleCarType01", "1", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号1", "", 1 },
                    { "XCMG_EleCarType02", "2", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号2", "", 2 },
                    { "XCMG_EleCarType03", "3", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号3", "", 3 },
                    { "XCMG_EleCarType04", "4", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号4", "", 4 },
                    { "XCMG_EleCarType05", "5", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号5", "", 5 },
                    { "XCMG_CF_Config_Type02", "User", "XCMG", null, "1", "XCMG_CF_Config_Type", true, "1", "用户配置", "", 2 },
                    { "XCMG_EleCarType07", "7", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号7", "", 7 },
                    { "XCMG_EleCarType08", "8", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号8", "", 8 },
                    { "XCMG_EleCarType09", "9", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号9", "", 9 },
                    { "XCMG_EleCarType06", "6", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号6", "", 6 },
                    { "XCMG_AgvTaskType01", "Box", "XCMG", null, "1", "XCMG_AgvTaskType", true, "1", "背框", "", 1 },
                    { "XCMG_AgvTaskType02", "Material", "XCMG", null, "1", "XCMG_AgvTaskType", true, "1", "背料", "", 2 },
                    { "XCMG_AgvTaskStatus01", "Start", "XCMG", null, "1", "XCMG_AgvTaskStatus", true, "1", "请求中", "", 1 },
                    { "XCMG_AgvTaskStatus02", "Material", "XCMG", null, "1", "XCMG_AgvTaskStatus", true, "1", "已接收", "", 2 },
                    { "XCMG_AgvTaskStatus03", "Material", "XCMG", null, "1", "XCMG_AgvTaskStatus", true, "1", "执行中", "", 2 },
                    { "XCMG_AgvTaskStatus04", "Material", "XCMG", null, "1", "XCMG_AgvTaskStatus", true, "1", "已完成", "", 2 },
                    { "XCMG_Sex01", "Boy", "XCMG", null, "1", "XCMG_Sex", true, "1", "男", "", 1 },
                    { "XCMG_Sex02", "Girl", "XCMG", null, "1", "XCMG_Sex", true, "1", "女", "", 2 },
                    { "XCMG_YesOrNo01", "Yes", "XCMG", null, "1", "XCMG_YesOrNo", true, "1", "是", "", 1 },
                    { "XCMG_EleCarType10", "10", "XCMG", null, "1", "XCMG_EleCarType", true, "1", "型号10", "", 10 },
                    { "XCMG_YesOrNo02", "No", "XCMG", null, "1", "XCMG_YesOrNo", true, "1", "否", "", 2 }
                });

            migrationBuilder.InsertData(
                table: "CraftStepProcess",
                columns: new[] { "Id", "Code", "CraftStepId", "CreateUserId", "Icon", "ModifyUserId", "Name", "Sort" },
                values: new object[,]
                {
                    { "TTJG_YPBD", "03.TTJG_YPBD", "TTJG", "1", "dropbox", "1", "叶片摆搭", 3 },
                    { "TTJG_YPLXH", "04.TTJG_YPLXH", "TTJG", "1", "dropbox", "1", "叶片螺旋焊", 4 },
                    { "TTJG_TTHM", "05.TTJG_TTHM", "TTJG", "1", "dropbox", "1", "筒体合模", 5 },
                    { "TTJG_NHFH", "02.TTJG_NHFH", "TTJG", "1", "dropbox", "1", "内环缝焊", 2 },
                    { "TTJG_RGBH", "07.TTJG_RGBH", "TTJG", "1", "dropbox", "1", "人工补焊", 7 },
                    { "TTJC_TTJC", "01.TTJC_TTJC", "TTJC", "1", "dropbox", "1", "筒体检测", 8 },
                    { "TTJG_WHFH", "06.TTJG_WHFH", "TTJG", "1", "dropbox", "1", "外环缝焊", 6 },
                    { "CXJYZ_HZYZ", "02.CXJYZ_HZYZ", "CXJYZ", "1", "dropbox", "1", "后锥压装", 2 },
                    { "TTJG_LSZD", "01.TTJG_LSZD", "TTJG", "1", "dropbox", "1", "立式组对", 1 },
                    { "CXJYZ_ZFHJ", "01.CXJYZ_ZFHJ", "CXJYZ", "1", "dropbox", "1", "纵缝焊接", 1 },
                    { "PBJY_JY", "03.PBJY_JY", "PBJY", "1", "dropbox", "1", "卷圆", 3 },
                    { "PBJY_ZTDPH", "02.PBJY_ZTDPH", "PBJY", "1", "dropbox", "1", "锥筒拼焊(大)", 2 },
                    { "PBJY_ZTXPH", "01.PBJY_ZTXPH", "PBJY", "1", "dropbox", "1", "锥筒拼焊(小)", 1 },
                    { "LLHC_ZTBFL", "01.LLHC_ZTBFL", "LLHC", "1", "dropbox", "1", "中筒板发料", 1 },
                    { "LLHC_SXBFL", "01.LLHC_SXBFL", "LLHC", "1", "dropbox", "1", "扇形板发料", 1 },
                    { "LLHC_YPFJ", "01.LLHC_YPFJ", "LLHC", "1", "dropbox", "1", "叶片分拣", 1 },
                    { "CXJYZ_QZZD", "02.CXJYZ_QZZD", "CXJYZ", "1", "dropbox", "1", "前锥组对", 2 }
                });

            migrationBuilder.InsertData(
                table: "MaterielInfor",
                columns: new[] { "Id", "Code", "CreateTime", "CreateUserId", "FullName", "ModifyTime", "ModifyUserId", "Name", "TypeId", "Unit" },
                values: new object[,]
                {
                    { "1010", "14", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5657), "1", "后挡圈II", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5656), "1", "后挡圈II", "YCL", "EA" },
                    { "1005", "04", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5640), "1", "后锥筒体", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5639), "1", "后锥", "XLZJ", "EA" },
                    { "1004", "03", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5636), "1", "后锥前筒体", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5635), "1", "后锥前", "XLZJ", "EA" },
                    { "1003", "02", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5632), "1", "中筒筒体", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5631), "1", "中筒", "XLZJ", "EA" },
                    { "1002", "01", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5629), "1", "前锥筒体", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5628), "1", "前锥", "XLZJ", "EA" },
                    { "1011", "15", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5660), "1", "滚道", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5659), "1", "滚道", "YCL", "EA" },
                    { "1009", "13", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5653), "1", "后挡圈Ⅰ", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5652), "1", "后挡圈Ⅰ", "YCL", "EA" },
                    { "1008", "05", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5650), "1", "叶片", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5649), "1", "叶片", "YCL", "EA" },
                    { "1006", "11", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5643), "1", "进料管", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5642), "1", "进料管", "YCL", "EA" },
                    { "10051", "09", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5625), "1", "后锥拼板", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5624), "1", "后锥拼板", "YCL", "EA" },
                    { "10041", "08", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5619), "1", "后锥前拼板", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5618), "1", "后锥前拼板", "YCL", "EA" },
                    { "10031", "07", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5615), "1", "中筒拼板", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5615), "1", "中筒拼板", "YCL", "EA" },
                    { "10021", "06", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5611), "1", "前锥拼板", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5610), "1", "前锥拼板", "YCL", "EA" },
                    { "1001", "10", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5604), "1", "封头总成", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5600), "1", "封头", "YCL", "EA" },
                    { "10", "00", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(4985), "1", "搅拌筒总成", new DateTime(2022, 5, 10, 15, 42, 6, 109, DateTimeKind.Local).AddTicks(2102), "1", "搅拌筒总成", "CP", "EA" },
                    { "1007", "12", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5647), "1", "进料喇叭", new DateTime(2022, 5, 10, 15, 42, 6, 110, DateTimeKind.Local).AddTicks(5646), "1", "进料喇叭", "YCL", "EA" }
                });

            migrationBuilder.InsertData(
                table: "Sys_Menu",
                columns: new[] { "Id", "Code", "Component", "CreateUserId", "Icon", "ModifyUserId", "Name", "ParentId", "Path", "Redirect", "Seq" },
                values: new object[,]
                {
                    { "801", "MaterielType", "/Define/MaterielType/List", "1", "tag", "1", "物料类型", "800", "/Define/MaterielType", null, 1 },
                    { "802", "MaterielInfor", "/Define/MaterielInfor/List", "1", "profile", "1", "物料信息", "800", "/Define/MaterielInfor", null, 2 },
                    { "803", "MaterialBom", "/Define/MaterialBom/List", "1", "branches", "1", "BOM管理", "800", "/Define/MaterialBom", null, 3 },
                    { "901", "Sys_Org", "/Sys/Sys_Org/List", "1", "cluster", "1", "组织架构", "900", "/Sys/Sys_Org", null, 1 },
                    { "902", "Sys_User", "/Sys/Sys_User/List", "1", "user", "1", "用户管理", "900", "/Sys/Sys_User", null, 2 },
                    { "602", "WorkshoArea", "/Define/WorkshoArea/List", "1", "select", "1", "生产区域", "600", "/Define/WorkshoArea", null, 2 },
                    { "904", "Sys_Menu", "/Sys/Sys_Menu/List", "1", "menu", "1", "菜单管理", "900", "/Sys/Sys_Menu", null, 4 },
                    { "905", "CF_Enum", "/CF/CF_Enum/List", "1", "key", "1", "数据字典", "900", "/Sys/CF_Enum", null, 5 },
                    { "906", "CF_Config", "/CF/CF_Config/List", "1", "code", "1", "系统参数", "900", "/Sys/CF_Config", null, 6 },
                    { "907", "CF_CodeType", "/CF/CF_CodeType/List", "1", "number", "1", "编码规则", "900", "/Sys/CF_CodeType", null, 7 },
                    { "703", "TeamMember", "/Define/TeamMember/List", "1", "team", "1", "成员管理", "700", "/Define/TeamMember", null, 3 },
                    { "903", "Sys_Role", "/Sys/Sys_Role/List", "1", "team", "1", "角色管理", "900", "/Sys/Sys_Role", null, 3 },
                    { "702", "Team", "/Define/Team/List", "1", "deployment-unit", "1", "班组管理", "700", "/Define/Team", null, 2 },
                    { "502", "CraftStepProcess", "/Define/CraftStepProcess/List", "1", "ordered-list", "1", "加工工序", "500", "/Define/CraftStepProcess", null, 2 },
                    { "607", "MaterielSorting", "/Define/MaterielSortingConfig/List", "1", "robot", "1", "分拣规则", "600", "/Define/MaterielSortingConfig", null, 7 },
                    { "401", "Plan", "/Exec/Plan/List", "1", "reconciliation", "1", "生产计划", "400", "/Exec/Plan", null, 1 },
                    { "701", "TeamTime", "/Define/TeamTime/List", "1", "clock-circle", "1", "班时管理", "700", "/Define/TeamTime", null, 1 },
                    { "403", "RealIncome", "/Exec/RealIncome/List", "1", "reconciliation", "1", "实收记录", "400", "/Exec/RealIncome", null, 3 },
                    { "501", "CraftStep", "/Define/CraftStep/List", "1", "api", "1", "流程步骤", "500", "/Define/CraftStep", null, 1 },
                    { "402", "Precollected", "/Exec/Precollected/List", "1", "reconciliation", "1", "来料预收", "400", "/Exec/Precollected", null, 2 },
                    { "603", "WorkshoUnit", "/Define/WorkshoUnit/List", "1", "interaction", "1", "生产单元", "600", "/Define/WorkshoUnit", null, 3 },
                    { "604", "WorkshoStation", "/Define/WorkshoStation/List", "1", "idcard", "1", "生产工位", "600", "/Define/WorkshoStation", null, 4 },
                    { "605", "Equipment", "/Define/Equipment/List", "1", "robot", "1", "设备台帐", "600", "/Define/Equipment", null, 5 },
                    { "606", "Storage", "/Define/StorageArea/List", "1", "robot", "1", "缓存区域", "600", "/Define/StorageArea", null, 6 },
                    { "601", "Worksho", "/Define/Worksho/List", "1", "bank", "1", "生产车间", "600", "/Define/Worksho", null, 1 }
                });

            migrationBuilder.InsertData(
                table: "Sys_Org",
                columns: new[] { "Id", "Code", "CreateUserId", "ModifyUserId", "Name", "ParentId" },
                values: new object[] { "12", "JBTSCX", "1", "1", "搅拌筒自动化生产线", "1" });

            migrationBuilder.InsertData(
                table: "Sys_RoleMenu",
                columns: new[] { "MenuId", "RoleId" },
                values: new object[,]
                {
                    { "900", "1" },
                    { "400", "1" },
                    { "500", "1" },
                    { "600", "1" },
                    { "700", "1" },
                    { "800", "1" }
                });

            migrationBuilder.InsertData(
                table: "Sys_User",
                columns: new[] { "Id", "Code", "CompanyId", "CreateUserId", "ModifyUserId", "Name", "OrgId", "Password", "Sex", "Status", "UserName" },
                values: new object[] { "1", "SystemManager", "XCMG", "1", "1", "系统管理员", "1", "e10adc3949ba59abbe56e057f20f883e", "Boy", "Enable", "admin" });

            migrationBuilder.InsertData(
                table: "WorkshoArea",
                columns: new[] { "Id", "Code", "CraftStepId", "CreateUserId", "ModifyUserId", "Name", "WorkshoId" },
                values: new object[,]
                {
                    { "CXJYZQ", "03.CXJYZQ", "CXJYZ", "1", "1", "成型件预装区", "JBTZDHSCX" },
                    { "TTJGQ", "04.TTJGQ", "TTJG", "1", "1", "筒体加工区", "JBTZDHSCX" },
                    { "LLHCQ", "01.LLHCQ", "LLHC", "1", "1", "来料缓存区", "JBTZDHSCX" },
                    { "PBJYQ", "02.PBJYQ", "PBJY", "1", "1", "拼板卷圆区", "JBTZDHSCX" },
                    { "TTJCQ", "05.TTJCQ", "TTJC", "1", "1", "筒体检测区", "JBTZDHSCX" }
                });

            migrationBuilder.InsertData(
                table: "MaterielSpec",
                columns: new[] { "Id", "Code", "CreateUserId", "Desc", "ElectricCode", "MaterielId", "MesCode", "ModifyUserId", "Name", "Sort" },
                values: new object[,]
                {
                    { "11", "2350-TG011011", "1", "2350", 1, "10", "190007557", "1", "TG011011", 1 },
                    { "100205", "TG01103.1II.1 - 1", "1", "TG01103.1II.1 - 1 前锥筒体", 0, "1002", "190004837", "1", "TG01103.1II.1 - 1", 5 },
                    { "100204", "TG011210.1.1 - 1", "1", "TG011210.1.1 - 1 前锥筒体", 0, "1002", "190007055", "1", "TG011210.1.1 - 1", 4 },
                    { "100203", "TG01148.1.1 - 1", "1", "TG01148.1.1 - 1 前锥筒体", 0, "1002", "190007079", "1", "TG01148.1.1 - 1", 3 },
                    { "100202", "TG011213.1.1 - 1", "1", "TG011213.1.1 - 1 前锥筒体", 0, "1002", "190007783", "1", "TG011213.1.1 - 1", 2 },
                    { "100201", "TG011011.1.1 - 1", "1", "TG011011.1.1 - 1 前锥筒体", 0, "1002", "190007540", "1", "TG011011.1.1 - 1", 1 },
                    { "101107", "TG01088.1.3 - 11", "1", "TG01088.1.3 - 11 滚道", 0, "1011", "190007149", "1", "TG01088.1.3 - 11", 7 },
                    { "101106", "TG01108.1.3 - 14", "1", "TG01108.1.3 - 14 滚道", 0, "1011", "190007121", "1", "TG01108.1.3 - 14", 6 },
                    { "101105", "TG01102.1.3 - 10", "1", "TG01102.1.3 - 10 滚道", 0, "1011", "190002749", "1", "TG01102.1.3 - 10", 5 },
                    { "101104", "TG011210.1.3 - 12", "1", "TG011210.1.3 - 12 滚道", 0, "1011", "190007071", "1", "TG011210.1.3 - 12", 4 },
                    { "101103", "TG01148.1.3 - 2", "1", "TG01148.1.3 - 2 滚道", 0, "1011", "190007084", "1", "TG01148.1.3 - 2", 3 },
                    { "101102", "TG011213.1.4 - 2", "1", "TG011213.1.4 - 2 滚道", 0, "1011", "190007780", "1", "TG011213.1.4 - 2", 2 },
                    { "101101", "TG01109.1.4 - 11", "1", "TG01109.1.4 - 11 滚道", 0, "1011", "190007509", "1", "TG01109.1.4 - 11", 1 },
                    { "101002", "TG01121.1 - 5", "1", "TG01121.1 - 5 后挡圈Ⅱ", 0, "1010", "190100174", "1", "TG01121.1 - 5", 2 },
                    { "101001", "TG01108.1II - 6", "1", "TG01108.1II - 6 后挡圈II", 0, "1010", "190007322", "1", "TG01108.1II - 6", 1 },
                    { "100903", "TG01121.1 - 6", "1", "TG01121.1 - 6 后挡圈Ⅰ", 0, "1009", "190100175", "1", "TG01121.1 - 6", 3 },
                    { "100902", "TG011213.1 - 6", "1", "TG011213.1 - 6 后挡圈Ⅰ", 0, "1009", "190007793", "1", "TG011213.1 - 6", 2 },
                    { "100901", "TG01108.1 - 5", "1", "TG01108.1 - 5 后挡圈Ⅰ", 0, "1009", "190007098", "1", "TG01108.1 - 5", 1 },
                    { "100814", "TG01108.1III.1 - 2A", "1", "TG01108.1III.1 - 2A 叶片Ⅰ", 0, "1008", "190007775", "1", "TG01108.1III.1 - 2A", 14 },
                    { "100813", "TG01108.1III.1 - 3A", "1", "TG01108.1III.1 - 3A 叶片Ⅱ", 0, "1008", "190007776", "1", "TG01108.1III.1 - 3A", 13 },
                    { "100812", "TG01108.1III.1 - 4A", "1", "TG01108.1III.1 - 4A 叶片Ⅲ", 0, "1008", "190007777", "1", "TG01108.1III.1 - 4A", 12 },
                    { "100811", "TG01108.1III.1 - 5A", "1", "TG01108.1III.1 - 5A 叶片Ⅳ", 0, "1008", "190007778", "1", "TG01108.1III.1 - 5A", 11 },
                    { "100810", "TG01108.1III.1 - 6A", "1", "TG01108.1III.1 - 6A 叶片Ⅴ", 0, "1008", "190007779", "1", "TG01108.1III.1 - 6A", 10 },
                    { "100809", "TG01108.1III.1 - 7", "1", "TG01108.1III.1 - 7 叶片Ⅵ", 0, "1008", "190007333", "1", "TG01108.1III.1 - 7", 9 },
                    { "100808", "TG01108.1III.2 - 2", "1", "TG01108.1III.2 - 2 叶片Ⅶ", 0, "1008", "190007419", "1", "TG01108.1III.2 - 2", 8 },
                    { "100807", "TG01108.1III.3 - 2", "1", "TG01108.1III.3 - 2 叶片Ⅷ", 0, "1008", "190007423", "1", "TG01108.1III.3 - 2", 7 },
                    { "100806", "TG01108.1III.3 - 3", "1", "TG01108.1III.3 - 3 叶片Ⅸ", 0, "1008", "190007424", "1", "TG01108.1III.3 - 3", 6 },
                    { "100805", "TG01108.1III.3 - 4", "1", "TG01108.1III.3 - 4 叶片Ⅹ", 0, "1008", "190007425", "1", "TG01108.1III.3 - 4", 5 },
                    { "100206", "TG01108.1III.1 - 1", "1", "TG01108.1III.1 - 1 前锥筒体", 0, "1002", "190007411", "1", "TG01108.1III.1 - 1", 6 },
                    { "100804", "TG01108.1III.3 - 5", "1", "TG01108.1III.3 - 5 叶片ⅩⅠ", 0, "1008", "190007426", "1", "TG01108.1III.3 - 5", 4 },
                    { "100208", "TG011212.1.1 - 1", "1", "TG011212.1.1 - 1 前锥筒体", 0, "1002", "190007663", "1", "TG011212.1.1 - 1", 8 },
                    { "100302", "TG011213.1.2 - 1", "1", "TG011213.1.2 - 1 中筒筒体", 0, "1003", "190007785", "1", "TG011213.1.2 - 1", 2 },
                    { "100510", "TG011212.1.3 - 1", "1", "TG011212.1.3 - 1 后锥后筒体", 0, "1005", "190007672", "1", "TG011212.1.3 - 1", 10 },
                    { "100509", "TG011010.1.3 - 1", "1", "TG011010.1.3 - 1 后锥后筒体", 0, "1005", "190007538", "1", "TG011010.1.3 - 1", 9 },
                    { "100508", "TG01088.1II.3 - 1", "1", "TG01088.1II.3 - 1 后锥后筒体", 0, "1005", "190007994", "1", "TG01088.1II.3 - 1", 8 },
                    { "100507", "TG01108.1III.3 - 1", "1", "TG01108.1III.3 - 1 后锥后筒体", 0, "1005", "190007422", "1", "TG01108.1III.3 - 1", 7 },
                    { "100506", "TG01103.1II.3 - 1", "1", "TG01103.1II.3 - 1 后锥后筒体", 0, "1005", "190004838", "1", "TG01103.1II.3 - 1", 6 },
                    { "100505", "TG01085.1II.3 - 1", "1", "TG01085.1II.3 - 1 后锥后筒体", 0, "1005", "190005021", "1", "TG01085.1II.3 - 1", 5 },
                    { "100504", "TG011210.1.3 - 1", "1", "TG011210.1.3 - 1 后锥后筒体", 0, "1005", "190007060", "1", "TG011210.1.3 - 1", 4 },
                    { "100503", "TG01148.1.3 - 1", "1", "TG01148.1.3 - 1 后锥后筒体", 0, "1005", "190007083", "1", "TG01148.1.3 - 1", 3 },
                    { "100502", "TG011213.1.4 - 1", "1", "TG011213.1.4 - 1 后锥后筒体", 0, "1005", "190007789", "1", "TG011213.1.4 - 1", 2 },
                    { "100501", "TG011011.1.4 - 1", "1", "TG011011.1.4 - 1 后锥后筒体", 0, "1005", "190007542", "1", "TG011011.1.4 - 1", 1 },
                    { "100410", "TG011212.1.3 - 1", "1", "TG011212.1.3 - 1 后锥前筒体", 0, "1004", "190007672", "1", "TG011212.1.3 - 1", 10 },
                    { "100409", "TG011010.1.3 - 1", "1", "TG011010.1.3 - 1 后锥前筒体", 0, "1004", "190007538", "1", "TG011010.1.3 - 1", 9 },
                    { "100408", "TG01088.1II.3 - 1", "1", "TG01088.1II.3 - 1 后锥前筒体", 0, "1004", "190007994", "1", "TG01088.1II.3 - 1", 8 },
                    { "100407", "TG01108.1III.3 - 1", "1", "TG01108.1III.3 - 1 后锥前筒体", 0, "1004", "190007422", "1", "TG01108.1III.3 - 1", 7 },
                    { "100406", "TG01103.1II.3 - 1", "1", "TG01103.1II.3 - 1 后锥前筒体", 0, "1004", "190004838", "1", "TG01103.1II.3 - 1", 6 },
                    { "100405", "TG01085.1II.3 - 1", "1", "TG01085.1II.3 - 1 后锥前筒体", 0, "1004", "190005021", "1", "TG01085.1II.3 - 1", 5 },
                    { "100404", "TG011210.1.3 - 1", "1", "TG011210.1.3 - 1 后锥前筒体", 0, "1004", "190007060", "1", "TG011210.1.3 - 1", 4 },
                    { "100403", "TG01148.1.3 - 1", "1", "TG01148.1.3 - 1 后锥前筒体", 0, "1004", "190007083", "1", "TG01148.1.3 - 1", 3 },
                    { "100402", "TG011213.1.3 - 1", "1", "TG011213.1.3 - 1 后锥前筒体", 0, "1004", "190007786", "1", "TG011213.1.3 - 1", 2 },
                    { "100401", "TG011011.1.3 - 1", "1", "TG011011.1.3 - 1 后锥前筒体", 0, "1004", "190007553", "1", "TG011011.1.3 - 1", 1 },
                    { "100309", "TG01108.1III.2 - 1", "1", "TG01108.1III.2 - 1 中筒筒体", 0, "1003", "190007418", "1", "TG01108.1III.2 - 1", 9 },
                    { "100308", "TG01094.1III.2 - 1", "1", "TG01094.1III.2 - 1 中筒筒体", 0, "1003", "190007811", "1", "TG01094.1III.2 - 1", 8 },
                    { "100307", "TG01088.1II.2 - 1", "1", "TG01088.1II.2 - 1 中筒筒体", 0, "1003", "190008001", "1", "TG01088.1II.2 - 1", 7 },
                    { "100306", "TG01103.1II.2 - 1", "1", "TG01103.1II.2 - 1 中筒筒体", 0, "1003", "190004845", "1", "TG01103.1II.2 - 1", 6 },
                    { "100305", "TG01085.1II.2 - 1", "1", "TG01085.1II.2 - 1 中筒筒体", 0, "1003", "190005023", "1", "TG01085.1II.2 - 1", 5 },
                    { "100304", "TG011210.1.2 - 1", "1", "TG011210.1.2 - 1 中筒筒体", 0, "1003", "190007057", "1", "TG011210.1.2 - 1", 4 },
                    { "100303", "TG01148.1.2 - 1", "1", "TG01148.1.2 - 1 中筒筒体", 0, "1003", "190007081", "1", "TG01148.1.2 - 1", 3 },
                    { "100301", "TG011011.1.2 - 1", "1", "TG011011.1.2 - 1 中筒筒体", 0, "1003", "190007552", "1", "TG011011.1.2 - 1", 1 },
                    { "100803", "TG01108.1III.3 - 6A", "1", "TG01108.1III.3 - 6A 叶片ⅩⅡ", 0, "1008", "190007808", "1", "TG01108.1III.3 - 6A", 3 },
                    { "100207", "TG011010.1.1 - 1", "1", "TG011010.1.1 - 1 前锥筒体", 0, "1002", "190007528", "1", "TG011010.1.1 - 1", 7 },
                    { "100801", "TG01108.1III.3 - 8A", "1", "TG01108.1III.3 - 8A 叶片ⅩⅣ", 0, "1008", "190007810", "1", "TG01108.1III.3 - 8A", 1 },
                    { "1003051", "TG01085.1II.2 - 1", "1", "TG01085.1II.2 - 1 中筒拼板", 0, "10031", "190005023", "1", "TG01085.1II.2 - 1", 5 },
                    { "1003041", "TG011210.1.2 - 1", "1", "TG011210.1.2 - 1 中筒拼板", 0, "10031", "190007057", "1", "TG011210.1.2 - 1", 4 },
                    { "1003031", "TG01148.1.2 - 1", "1", "TG01148.1.2 - 1 中筒拼板", 0, "10031", "190007081", "1", "TG01148.1.2 - 1", 3 },
                    { "1003021", "TG011213.1.2 - 1", "1", "TG011213.1.2 - 1 中筒拼板", 0, "10031", "190007785", "1", "TG011213.1.2 - 1", 2 },
                    { "1003011", "TG011011.1.2 - 1", "1", "TG011011.1.2 - 1 中筒拼板", 0, "10031", "190007552", "1", "TG011011.1.2 - 1", 1 },
                    { "1002081", "TG011212.1.1 - 1", "1", "TG011212.1.1 - 1 前锥拼板", 0, "10021", "190007663", "1", "TG011212.1.1 - 1", 8 },
                    { "1002071", "TG011010.1.1 - 1", "1", "TG011010.1.1 - 1 前锥拼板", 0, "10021", "190007528", "1", "TG011010.1.1 - 1", 7 },
                    { "1002061", "TG01108.1III.1 - 1", "1", "TG01108.1III.1 - 1 前锥拼板", 0, "10021", "190007411", "1", "TG01108.1III.1 - 1", 6 },
                    { "1002051", "TG01103.1II.1 - 1", "1", "TG01103.1II.1 - 1 前锥拼板", 0, "10021", "190004837", "1", "TG01103.1II.1 - 1", 5 },
                    { "1002041", "TG011210.1.1 - 1", "1", "TG011210.1.1 - 1 前锥拼板", 0, "10021", "190007055", "1", "TG011210.1.1 - 1", 4 },
                    { "1002031", "TG01148.1.1 - 1", "1", "TG01148.1.1 - 1 前锥拼板", 0, "10021", "190007079", "1", "TG01148.1.1 - 1", 3 },
                    { "1002021", "TG011213.1.1 - 1", "1", "TG011213.1.1 - 1 前锥拼板", 0, "10021", "190007783", "1", "TG011213.1.1 - 1", 2 },
                    { "100106", "TG01108.1.4", "1", "TG01108.1.4 封头总成", 0, "1001", "190007097", "1", "TG01108.1.4", 6 },
                    { "1003061", "TG01103.1II.2 - 1", "1", "TG01103.1II.2 - 1 中筒拼板", 0, "10031", "190004845", "1", "TG01103.1II.2 - 1", 6 },
                    { "100105", "TG01083.1.4", "1", "TG01083.1.4 封头总成", 0, "1001", "190003099", "1", "TG01083.1.4", 5 },
                    { "100103", "TG01148.1.4", "1", "TG01148.1.4 封头总成", 0, "1001", "190007078", "1", "TG01148.1.4", 3 },
                    { "100102", "TG011213.1.5", "1", "TG011213.1.5 封头总成", 0, "1001", "190007790", "1", "TG011213.1.5", 2 },
                    { "100101", "TG011011.1.5", "1", "TG011011.1.5 封头总成", 0, "1001", "190007556", "1", "TG011011.1.5", 1 },
                    { "20", "2240-TG011010", "1", "2240", 10, "10", "190007525", "1", "TG011010", 11 },
                    { "19", "2350-TG011213", "1", "2350", 9, "10", "190007795", "1", "TG011213", 2 },
                    { "18", "2240-TG01108", "1", "2240", 8, "10", "190007001", "1", "TG01108", 10 },
                    { "17", "2240-TG01094", "1", "2240", 7, "10", "190007125", "1", "TG01094", 9 },
                    { "16", "2240-TG01088", "1", "2240", 6, "10", "190007142", "1", "TG01088", 8 },
                    { "15", "2280-TG01103", "1", "2280", 5, "10", "190003660", "1", "TG01103", 6 },
                    { "14", "2280-TG01085", "1", "2280", 4, "10", "190004004", "1", "TG01085", 5 },
                    { "13", "2280-TG011210", "1", "2280", 3, "10", "190007048", "1", "TG011210", 4 },
                    { "12", "2280-TG01148", "1", "2280", 2, "10", "190007076", "1", "TG01148", 3 },
                    { "100802", "TG01108.1III.3 - 7A", "1", "TG01108.1III.3 - 7A 叶片ⅩⅢ", 0, "1008", "190007809", "1", "TG01108.1III.3 - 7A", 2 },
                    { "100104", "TG011210.1.4", "1", "TG011210.1.4 封头总成", 0, "1001", "190007047", "1", "TG011210.1.4", 4 },
                    { "1003071", "TG01088.1II.2 - 1", "1", "TG01088.1II.2 - 1 中筒拼板", 0, "10031", "190008001", "1", "TG01088.1II.2 - 1", 7 },
                    { "1002011", "TG011011.1.1 - 1", "1", "TG011011.1.1 - 1 前锥拼板", 0, "10021", "190007540", "1", "TG011011.1.1 - 1", 1 },
                    { "1003081", "TG01094.1III.2 - 1", "1", "TG01094.1III.2 - 1 中筒拼板", 0, "10031", "190007811", "1", "TG01094.1III.2 - 1", 8 },
                    { "100703", "TG01103.1II.3 - 12", "1", "？？？ 进料喇叭", 0, "1007", "190007072", "1", "？？？", 2 },
                    { "100702", "TG01103.1II.3 - 12", "1", "TG01103.1II.3 - 12 进料喇叭", 0, "1007", "190004835", "1", "TG01103.1II.3 - 12", 2 },
                    { "100701", "TG01108.1.3.13 - 1", "1", "TG01108.1.3.13 - 1 进料喇叭", 0, "1007", "190007122", "1", "TG01108.1.3.13 - 1", 1 },
                    { "100602", "TG01124.1.3 - 15", "1", "TG01124.1.3 - 15 进料管", 0, "1006", "190003359", "1", "TG01124.1.3 - 15", 2 },
                    { "100601", "TG011210.1.3.11 - 2", "1", "TG011210.1.3.11 - 2 进料管", 0, "1006", "190007073", "1", "TG011210.1.3.11 - 2", 1 },
                    { "1005101", "TG011212.1.3 - 1", "1", "TG011212.1.3 - 1 后锥后拼板", 0, "10051", "190007672", "1", "TG011212.1.3 - 1", 10 },
                    { "1005091", "TG011010.1.3 - 1", "1", "TG011010.1.3 - 1 后锥后拼板", 0, "10051", "190007538", "1", "TG011010.1.3 - 1", 9 },
                    { "1005081", "TG01088.1II.3 - 1", "1", "TG01088.1II.3 - 1 后锥后拼板", 0, "10051", "190007994", "1", "TG01088.1II.3 - 1", 8 },
                    { "1005071", "TG01108.1III.3 - 1", "1", "TG01108.1III.3 - 1 后锥后拼板", 0, "10051", "190007422", "1", "TG01108.1III.3 - 1", 7 },
                    { "1005061", "TG01103.1II.3 - 1", "1", "TG01103.1II.3 - 1 后锥后拼板", 0, "10051", "190004838", "1", "TG01103.1II.3 - 1", 6 },
                    { "1005051", "TG01085.1II.3 - 1", "1", "TG01085.1II.3 - 1 后锥后拼板", 0, "10051", "190005021", "1", "TG01085.1II.3 - 1", 5 },
                    { "1005041", "TG011210.1.3 - 1", "1", "TG011210.1.3 - 1 后锥后拼板", 0, "10051", "190007060", "1", "TG011210.1.3 - 1", 4 },
                    { "1005031", "TG01148.1.3 - 1", "1", "TG01148.1.3 - 1 后锥后拼板", 0, "10051", "190007083", "1", "TG01148.1.3 - 1", 3 },
                    { "100800", "-", "1", "", 0, "1008", "0", "1", "-", 1 },
                    { "1003091", "TG01108.1III.2 - 1", "1", "TG01108.1III.2 - 1 中筒拼板", 0, "10031", "190007418", "1", "TG01108.1III.2 - 1", 9 },
                    { "1004011", "TG011011.1.3 - 1", "1", "TG011011.1.3 - 1 后锥前拼板", 0, "10041", "190007553", "1", "TG011011.1.3 - 1", 1 },
                    { "1004021", "TG011213.1.3 - 1", "1", "TG011213.1.3 - 1 后锥前拼板", 0, "10041", "190007786", "1", "TG011213.1.3 - 1", 2 },
                    { "1004031", "TG01148.1.3 - 1", "1", "TG01148.1.3 - 1 后锥前拼板", 0, "10041", "190007083", "1", "TG01148.1.3 - 1", 3 },
                    { "1005021", "TG011213.1.4 - 1", "1", "TG011213.1.4 - 1 后锥后拼板", 0, "10051", "190007789", "1", "TG011213.1.4 - 1", 2 },
                    { "1004051", "TG01085.1II.3 - 1", "1", "TG01085.1II.3 - 1 后锥前拼板", 0, "10041", "190005021", "1", "TG01085.1II.3 - 1", 5 },
                    { "1004061", "TG01103.1II.3 - 1", "1", "TG01103.1II.3 - 1 后锥前拼板", 0, "10041", "190004838", "1", "TG01103.1II.3 - 1", 6 },
                    { "1004041", "TG011210.1.3 - 1", "1", "TG011210.1.3 - 1 后锥前拼板", 0, "10041", "190007060", "1", "TG011210.1.3 - 1", 4 },
                    { "1004081", "TG01088.1II.3 - 1", "1", "TG01088.1II.3 - 1 后锥前拼板", 0, "10041", "190007994", "1", "TG01088.1II.3 - 1", 8 },
                    { "1004091", "TG011010.1.3 - 1", "1", "TG011010.1.3 - 1 后锥前拼板", 0, "10041", "190007538", "1", "TG011010.1.3 - 1", 9 },
                    { "1004101", "TG011212.1.3 - 1", "1", "TG011212.1.3 - 1 后锥前拼板", 0, "10041", "190007672", "1", "TG011212.1.3 - 1", 10 },
                    { "1005011", "TG011011.1.4 - 1", "1", "TG011011.1.4 - 1 后锥后拼板", 0, "10051", "190007542", "1", "TG011011.1.4 - 1", 1 },
                    { "1004071", "TG01108.1III.3 - 1", "1", "TG01108.1III.3 - 1 后锥前拼板", 0, "10041", "190007422", "1", "TG01108.1III.3 - 1", 7 }
                });

            migrationBuilder.InsertData(
                table: "StorageArea",
                columns: new[] { "Id", "Code", "CreateUserId", "MaterielId", "ModifyUserId", "Name" },
                values: new object[] { "HC1008", "HC_YP", "1", "1008", "1", "叶片_缓存区" });

            migrationBuilder.InsertData(
                table: "Sys_Action",
                columns: new[] { "Id", "Code", "CreateUserId", "MenuId", "ModifyUserId", "Name" },
                values: new object[,]
                {
                    { "70301", "Add", "1", "703", "1", "新增" },
                    { "70302", "Delete", "1", "703", "1", "删除" },
                    { "70303", "Update", "1", "703", "1", "修改" },
                    { "70304", "Query", "1", "703", "1", "查询" },
                    { "70305", "Get", "1", "703", "1", "查看" },
                    { "90502", "Delete", "1", "905", "1", "删除" },
                    { "80101", "Add", "1", "801", "1", "新增" },
                    { "80102", "Delete", "1", "801", "1", "删除" },
                    { "80103", "Update", "1", "801", "1", "修改" },
                    { "80104", "Query", "1", "801", "1", "查询" },
                    { "80105", "Get", "1", "801", "1", "查看" },
                    { "90504", "Query", "1", "905", "1", "查询" },
                    { "90503", "Update", "1", "905", "1", "修改" },
                    { "70205", "Get", "1", "702", "1", "查看" },
                    { "70103", "Update", "1", "701", "1", "修改" },
                    { "70203", "Update", "1", "702", "1", "修改" },
                    { "70202", "Delete", "1", "702", "1", "删除" },
                    { "70201", "Add", "1", "702", "1", "新增" },
                    { "90505", "Item", "1", "905", "1", "字典值" },
                    { "70105", "Get", "1", "701", "1", "查看" },
                    { "70104", "Query", "1", "701", "1", "查询" },
                    { "70102", "Delete", "1", "701", "1", "删除" },
                    { "70101", "Add", "1", "701", "1", "新增" },
                    { "60705", "Get", "1", "607", "1", "查看" },
                    { "60704", "Query", "1", "607", "1", "查询" },
                    { "60703", "Update", "1", "607", "1", "修改" },
                    { "60702", "Delete", "1", "607", "1", "删除" },
                    { "60701", "Add", "1", "607", "1", "新增" },
                    { "70204", "Query", "1", "702", "1", "查询" },
                    { "80201", "Add", "1", "802", "1", "新增" },
                    { "90401", "Add", "1", "904", "1", "新增" },
                    { "80203", "Update", "1", "802", "1", "修改" },
                    { "90601", "Add", "1", "906", "1", "新增" },
                    { "90404", "Query", "1", "904", "1", "查询" },
                    { "90306", "Access", "1", "903", "1", "权限" },
                    { "90305", "Get", "1", "903", "1", "查看" },
                    { "90304", "Query", "1", "903", "1", "查询" },
                    { "90303", "Update", "1", "903", "1", "修改" },
                    { "90302", "Delete", "1", "903", "1", "删除" },
                    { "90301", "Add", "1", "903", "1", "新增" },
                    { "90405", "Get", "1", "904", "1", "查看" },
                    { "90206", "Role", "1", "902", "1", "角色" },
                    { "90205", "Get", "1", "902", "1", "查看" },
                    { "90204", "Query", "1", "902", "1", "查询" },
                    { "90203", "Update", "1", "902", "1", "修改" },
                    { "90202", "Delete", "1", "902", "1", "删除" },
                    { "90201", "Add", "1", "902", "1", "新增" },
                    { "90406", "Action", "1", "904", "1", "操作" },
                    { "90105", "Get", "1", "901", "1", "查看" },
                    { "90104", "Query", "1", "901", "1", "查询" },
                    { "90103", "Update", "1", "901", "1", "修改" },
                    { "90102", "Delete", "1", "901", "1", "删除" },
                    { "90101", "Add", "1", "901", "1", "新增" },
                    { "80305", "Get", "1", "803", "1", "查看" },
                    { "80304", "Query", "1", "803", "1", "查询" },
                    { "80303", "Update", "1", "803", "1", "修改" },
                    { "80302", "Delete", "1", "803", "1", "删除" },
                    { "80301", "Add", "1", "803", "1", "新增" },
                    { "90501", "Add", "1", "905", "1", "新增" },
                    { "80205", "Get", "1", "802", "1", "查看" },
                    { "80204", "Query", "1", "802", "1", "查询" },
                    { "80202", "Delete", "1", "802", "1", "删除" },
                    { "60605", "Get", "1", "606", "1", "查看" },
                    { "40104", "Query", "1", "401", "1", "查询" },
                    { "60603", "Update", "1", "606", "1", "修改" },
                    { "90702", "Delete", "1", "907", "1", "删除" },
                    { "50205", "Get", "1", "502", "1", "查看" },
                    { "50204", "Query", "1", "502", "1", "查询" },
                    { "50203", "Update", "1", "502", "1", "修改" },
                    { "50202", "Delete", "1", "502", "1", "删除" },
                    { "50201", "Add", "1", "502", "1", "新增" },
                    { "90703", "Update", "1", "907", "1", "修改" },
                    { "50105", "Get", "1", "501", "1", "查看" },
                    { "50104", "Query", "1", "501", "1", "查询" },
                    { "50103", "Update", "1", "501", "1", "修改" },
                    { "50102", "Delete", "1", "501", "1", "删除" },
                    { "50101", "Add", "1", "501", "1", "新增" },
                    { "90704", "Query", "1", "907", "1", "查询" },
                    { "40305", "Get", "1", "403", "1", "查看" },
                    { "40304", "Query", "1", "403", "1", "查询" },
                    { "40303", "Update", "1", "403", "1", "修改" },
                    { "40302", "Delete", "1", "403", "1", "删除" },
                    { "40301", "Add", "1", "403", "1", "新增" },
                    { "90705", "Item", "1", "907", "1", "规则" },
                    { "40205", "Get", "1", "402", "1", "查看" },
                    { "40204", "Query", "1", "402", "1", "查询" },
                    { "40203", "Update", "1", "402", "1", "修改" },
                    { "40202", "Delete", "1", "402", "1", "删除" },
                    { "40201", "Add", "1", "402", "1", "新增" },
                    { "40105", "Get", "1", "401", "1", "查看" },
                    { "90402", "Delete", "1", "904", "1", "删除" },
                    { "40103", "Update", "1", "401", "1", "修改" },
                    { "40102", "Delete", "1", "401", "1", "删除" },
                    { "40101", "Add", "1", "401", "1", "新增" },
                    { "60604", "Query", "1", "606", "1", "查询" },
                    { "60102", "Delete", "1", "601", "1", "删除" },
                    { "60101", "Add", "1", "601", "1", "新增" },
                    { "60104", "Query", "1", "601", "1", "查询" },
                    { "60602", "Delete", "1", "606", "1", "删除" },
                    { "60601", "Add", "1", "606", "1", "新增" },
                    { "90602", "Delete", "1", "906", "1", "删除" },
                    { "60505", "Get", "1", "605", "1", "查看" },
                    { "60504", "Query", "1", "605", "1", "查询" },
                    { "60503", "Update", "1", "605", "1", "修改" },
                    { "60502", "Delete", "1", "605", "1", "删除" },
                    { "60501", "Add", "1", "605", "1", "新增" },
                    { "90603", "Update", "1", "906", "1", "修改" },
                    { "60405", "Get", "1", "604", "1", "查看" },
                    { "60404", "Query", "1", "604", "1", "查询" },
                    { "60403", "Update", "1", "604", "1", "修改" },
                    { "60402", "Delete", "1", "604", "1", "删除" },
                    { "60103", "Update", "1", "601", "1", "修改" },
                    { "60401", "Add", "1", "604", "1", "新增" },
                    { "60305", "Get", "1", "603", "1", "查看" },
                    { "60105", "Get", "1", "601", "1", "查看" },
                    { "90701", "Add", "1", "907", "1", "新增" },
                    { "60201", "Add", "1", "602", "1", "新增" },
                    { "60202", "Delete", "1", "602", "1", "删除" },
                    { "60203", "Update", "1", "602", "1", "修改" },
                    { "60204", "Query", "1", "602", "1", "查询" },
                    { "90604", "Query", "1", "906", "1", "查询" },
                    { "90403", "Update", "1", "904", "1", "修改" },
                    { "60301", "Add", "1", "603", "1", "新增" },
                    { "60302", "Delete", "1", "603", "1", "删除" },
                    { "60303", "Update", "1", "603", "1", "修改" },
                    { "60304", "Query", "1", "603", "1", "查询" },
                    { "60205", "Get", "1", "602", "1", "查看" }
                });

            migrationBuilder.InsertData(
                table: "Sys_RoleMenu",
                columns: new[] { "MenuId", "RoleId" },
                values: new object[,]
                {
                    { "906", "1" },
                    { "907", "1" },
                    { "904", "1" },
                    { "905", "1" },
                    { "501", "1" },
                    { "902", "1" },
                    { "401", "1" },
                    { "903", "1" },
                    { "403", "1" },
                    { "502", "1" },
                    { "601", "1" },
                    { "602", "1" },
                    { "603", "1" },
                    { "604", "1" },
                    { "605", "1" },
                    { "402", "1" },
                    { "607", "1" },
                    { "606", "1" },
                    { "803", "1" },
                    { "802", "1" },
                    { "901", "1" },
                    { "703", "1" },
                    { "702", "1" },
                    { "701", "1" },
                    { "801", "1" }
                });

            migrationBuilder.InsertData(
                table: "Sys_UserRole",
                columns: new[] { "RoleId", "UserId" },
                values: new object[] { "1", "1" });

            migrationBuilder.InsertData(
                table: "WorkshoUnit",
                columns: new[] { "Id", "AreaId", "Code", "CreateUserId", "ModifyUserId", "Name" },
                values: new object[,]
                {
                    { "TTJGQ_WHFH", "TTJGQ", "06.TTJGQ_WHFHDY", "1", "1", "外环缝焊单元" },
                    { "TTJGQ_LSZD", "TTJGQ", "01.TTJGQ_LSZDDY", "1", "1", "立式组对单元" },
                    { "TTJGQ_TTHM", "TTJGQ", "05.TTJGQ_TTHMDY", "1", "1", "筒体合模单元" },
                    { "TTJGQ_YPLXH", "TTJGQ", "04.TTJGQ_YPLXHDY", "1", "1", "叶片螺旋焊单元" },
                    { "TTJGQ_YPBD", "TTJGQ", "03.TTJGQ_YPBDDY", "1", "1", "叶片摆搭单元" },
                    { "TTJGQ_NHFH", "TTJGQ", "02.TTJGQ_NHFHDY", "1", "1", "内环缝焊单元" },
                    { "CXJYZQ_HZYZ", "CXJYZQ", "02.CXJYZQ_HZYZDY", "1", "1", "后锥压装单元" },
                    { "PBJYQ_ZTXPH", "PBJYQ", "01.PBJYQ_ZTXPHDY", "1", "1", "锥筒拼焊(小)单元" },
                    { "CXJYZQ_ZFHJ", "CXJYZQ", "01.CXJYZQ_ZFHJDY", "1", "1", "纵缝焊接单元" }
                });

            migrationBuilder.InsertData(
                table: "WorkshoUnit",
                columns: new[] { "Id", "AreaId", "Code", "CreateUserId", "ModifyUserId", "Name" },
                values: new object[,]
                {
                    { "PBJYQ_JY", "PBJYQ", "03.PBJYQ_JYDY", "1", "1", "卷圆单元" },
                    { "PBJYQ_ZTDPH", "PBJYQ", "02.PBJYQ_ZTDPHDY", "1", "1", "锥筒拼焊(大)单元" },
                    { "LLHCQ_ZTBFL", "LLHCQ", "01.LLHCQ_ZTBFLDY", "1", "1", "中筒板发料单元" },
                    { "LLHCQ_SXBFL", "LLHCQ", "01.LLHCQ_SXBFLDY", "1", "1", "扇形板发料单元" },
                    { "LLHCQ_YPFJ", "LLHCQ", "01.LLHCQ_YPFJDY", "1", "1", "叶片分拣单元" },
                    { "TTJGQ_RGBH", "TTJGQ", "07.TTJGQ_RGBHDY", "1", "1", "人工补焊单元" },
                    { "CXJYZQ_QZZD", "CXJYZQ", "02.CXJYZQ_QZZDDY", "1", "1", "前锥组对单元" },
                    { "TTJCQ_TTJC", "TTJCQ", "01.TTJCQ_TTJCDY", "1", "1", "筒体检测单元" }
                });

            migrationBuilder.InsertData(
                table: "MaterialBom",
                columns: new[] { "Id", "Code", "CreateUserId", "ModifyUserId", "Name", "ProductId", "SpecId", "Status", "Version" },
                values: new object[,]
                {
                    { "11", "2350-TG011011", "1", "1", "TG011011", "10", "11", "Enable", "1.0" },
                    { "12", "2280-TG01148", "1", "1", "TG01148", "10", "12", "Enable", "1.0" },
                    { "20", "2240-TG011010", "1", "1", "TG011010", "10", "20", "Enable", "1.0" },
                    { "13", "2280-TG011210", "1", "1", "TG011210", "10", "13", "Enable", "1.0" },
                    { "14", "2280-TG01085", "1", "1", "TG01085", "10", "14", "Enable", "1.0" },
                    { "19", "2350-TG011213", "1", "1", "TG011213", "10", "19", "Enable", "1.0" },
                    { "15", "2280-TG01103", "1", "1", "TG01103", "10", "15", "Enable", "1.0" },
                    { "16", "2240-TG01088", "1", "1", "TG01088", "10", "16", "Enable", "1.0" },
                    { "18", "2240-TG01108", "1", "1", "TG01108", "10", "18", "Enable", "1.0" },
                    { "17", "2240-TG01094", "1", "1", "TG01094", "10", "17", "Enable", "1.0" }
                });

            migrationBuilder.InsertData(
                table: "MaterielSortingConfig",
                columns: new[] { "Id", "CarNameAddress", "CreateUserId", "IsEnabled", "ModifyUserId", "Name", "ProductSpecId", "SortingDesc", "SortingMaterialId", "VaneGrabCount", "VaneGrabCountAddress" },
                values: new object[,]
                {
                    { "MSC_10", "M10_CarName", "1", true, "1", "2240-TG011010", "20", null, "1008", (short)0, "M10_VaneGrabCount" },
                    { "MSC_09", "M09_CarName", "1", true, "1", "2350-TG011213", "19", null, "1008", (short)0, "M09_VaneGrabCount" },
                    { "MSC_08", "M08_CarName", "1", true, "1", "2240-TG01108", "18", null, "1008", (short)0, "M08_VaneGrabCount" },
                    { "MSC_07", "M07_CarName", "1", true, "1", "2240-TG01094", "17", null, "1008", (short)0, "M07_VaneGrabCount" },
                    { "MSC_06", "M06_CarName", "1", true, "1", "2240-TG01088", "16", null, "1008", (short)0, "M06_VaneGrabCount" },
                    { "MSC_05", "M05_CarName", "1", true, "1", "2280-TG01103", "15", null, "1008", (short)0, "M05_VaneGrabCount" },
                    { "MSC_04", "M04_CarName", "1", true, "1", "2280-TG01085", "14", null, "1008", (short)0, "M04_VaneGrabCount" },
                    { "MSC_03", "M03_CarName", "1", true, "1", "2280-TG011210", "13", null, "1008", (short)0, "M03_VaneGrabCount" },
                    { "MSC_02", "M02_CarName", "1", true, "1", "2280-TG01148", "12", null, "1008", (short)0, "M02_VaneGrabCount" },
                    { "MSC_01", "M01_CarName", "1", true, "1", "2350-TG011011", "11", null, "1008", (short)0, "M01_VaneGrabCount" }
                });

            migrationBuilder.InsertData(
                table: "StorageLocation",
                columns: new[] { "Id", "Code", "CreateUserId", "ElectricCode", "ModifyUserId", "Name", "StorageArealId" },
                values: new object[,]
                {
                    { "15", "15#", "1", (short)15, "1", "15#料位", "HC1008" },
                    { "14", "14#", "1", (short)14, "1", "14#料位", "HC1008" },
                    { "12", "12#", "1", (short)12, "1", "12#料位", "HC1008" },
                    { "11", "11#", "1", (short)11, "1", "11#料位", "HC1008" },
                    { "10", "10#", "1", (short)10, "1", "10#料位", "HC1008" },
                    { "9", "9#", "1", (short)9, "1", "9#料位", "HC1008" },
                    { "8", "8#", "1", (short)8, "1", "8#料位", "HC1008" },
                    { "13", "13#", "1", (short)13, "1", "13#料位", "HC1008" },
                    { "6", "6#", "1", (short)6, "1", "6#料位", "HC1008" },
                    { "5", "5#", "1", (short)5, "1", "5#料位", "HC1008" },
                    { "4", "4#", "1", (short)4, "1", "4#料位", "HC1008" },
                    { "3", "3#", "1", (short)3, "1", "3#料位", "HC1008" },
                    { "7", "7#", "1", (short)7, "1", "7#料位", "HC1008" },
                    { "2", "2#", "1", (short)2, "1", "2#料位", "HC1008" },
                    { "1", "1#", "1", (short)1, "1", "1#料位", "HC1008" }
                });

            migrationBuilder.InsertData(
                table: "Sys_RoleAction",
                columns: new[] { "ActionId", "RoleId" },
                values: new object[,]
                {
                    { "80203", "1" },
                    { "80204", "1" },
                    { "80205", "1" },
                    { "80301", "1" },
                    { "80302", "1" },
                    { "80305", "1" },
                    { "80304", "1" },
                    { "80202", "1" },
                    { "90101", "1" },
                    { "90102", "1" },
                    { "90103", "1" },
                    { "90104", "1" },
                    { "80303", "1" },
                    { "80201", "1" },
                    { "80103", "1" },
                    { "80104", "1" },
                    { "80102", "1" },
                    { "80101", "1" },
                    { "70305", "1" },
                    { "70304", "1" },
                    { "70303", "1" },
                    { "70302", "1" },
                    { "70301", "1" },
                    { "70205", "1" },
                    { "70204", "1" },
                    { "70203", "1" },
                    { "70202", "1" },
                    { "90105", "1" },
                    { "80105", "1" },
                    { "90201", "1" },
                    { "90501", "1" },
                    { "90203", "1" },
                    { "90705", "1" },
                    { "90704", "1" },
                    { "90703", "1" },
                    { "90702", "1" },
                    { "90701", "1" },
                    { "90604", "1" },
                    { "90603", "1" },
                    { "90602", "1" },
                    { "90601", "1" },
                    { "90505", "1" },
                    { "90504", "1" },
                    { "90503", "1" },
                    { "90502", "1" },
                    { "70105", "1" },
                    { "90406", "1" },
                    { "90405", "1" },
                    { "90404", "1" },
                    { "90403", "1" },
                    { "90402", "1" },
                    { "90401", "1" },
                    { "90306", "1" },
                    { "90305", "1" },
                    { "90304", "1" },
                    { "90303", "1" },
                    { "90302", "1" },
                    { "90301", "1" },
                    { "90206", "1" },
                    { "90205", "1" },
                    { "90204", "1" },
                    { "90202", "1" },
                    { "70104", "1" },
                    { "70201", "1" },
                    { "70102", "1" },
                    { "60104", "1" },
                    { "60103", "1" },
                    { "60102", "1" },
                    { "60101", "1" },
                    { "50205", "1" },
                    { "50204", "1" },
                    { "50203", "1" },
                    { "50202", "1" },
                    { "50201", "1" },
                    { "50105", "1" },
                    { "50104", "1" },
                    { "50103", "1" },
                    { "50102", "1" },
                    { "50101", "1" },
                    { "40305", "1" },
                    { "40304", "1" },
                    { "40303", "1" },
                    { "70103", "1" },
                    { "40301", "1" },
                    { "40205", "1" },
                    { "40204", "1" },
                    { "40203", "1" },
                    { "40202", "1" },
                    { "40201", "1" },
                    { "40105", "1" },
                    { "40104", "1" },
                    { "40103", "1" },
                    { "40102", "1" },
                    { "40101", "1" },
                    { "60105", "1" },
                    { "60201", "1" },
                    { "40302", "1" },
                    { "60203", "1" },
                    { "60202", "1" },
                    { "70101", "1" },
                    { "60705", "1" },
                    { "60704", "1" },
                    { "60703", "1" },
                    { "60701", "1" },
                    { "60605", "1" },
                    { "60604", "1" },
                    { "60603", "1" },
                    { "60602", "1" },
                    { "60601", "1" },
                    { "60505", "1" },
                    { "60504", "1" },
                    { "60503", "1" },
                    { "60702", "1" },
                    { "60501", "1" },
                    { "60204", "1" },
                    { "60502", "1" },
                    { "60205", "1" },
                    { "60301", "1" },
                    { "60303", "1" },
                    { "60304", "1" },
                    { "60302", "1" },
                    { "60401", "1" },
                    { "60402", "1" },
                    { "60403", "1" },
                    { "60404", "1" },
                    { "60405", "1" },
                    { "60305", "1" }
                });

            migrationBuilder.InsertData(
                table: "WorkshoStation",
                columns: new[] { "Id", "Code", "CreateUserId", "ModifyUserId", "Name", "ProcessId", "Type", "UnitId" },
                values: new object[,]
                {
                    { "YPLXHDY_YPLXHGWA", "10.YPLXHDY_YPLXHGWA", "1", "1", "叶片螺旋焊工位A", "TTJG_YPLXH", "Automatic", "TTJGQ_YPLXH" },
                    { "WHFHDY_WHFHGWA", "16.WHFHDY_WHFHGWA", "1", "1", "外环缝焊工位A", "TTJG_WHFH", "Automatic", "TTJGQ_WHFH" },
                    { "YPLXHDY_YPLXHGWB", "11.YPLXHDY_YPLXHGWB", "1", "1", "叶片螺旋焊工位B", "TTJG_YPLXH", "Automatic", "TTJGQ_YPLXH" },
                    { "YPLXHDY_YPLXHGWC", "12.YPLXHDY_YPLXHGWC", "1", "1", "叶片螺旋焊工位C", "TTJG_YPLXH", "Automatic", "TTJGQ_YPLXH" },
                    { "YPLXHDY_YPLXHGWD", "13.YPLXHDY_YPLXHGWD", "1", "1", "叶片螺旋焊工位D", "TTJG_YPLXH", "Automatic", "TTJGQ_YPLXH" },
                    { "TTHMDY_TTHMGWA", "14.TTHMDY_TTHMGWA", "1", "1", "筒体合模工位A", "TTJG_TTHM", "SemiAutomatic", "TTJGQ_TTHM" },
                    { "TTHMDY_TTHMGWB", "15.TTHMDY_TTHMGWB", "1", "1", "筒体合模工位B", "TTJG_TTHM", "SemiAutomatic", "TTJGQ_TTHM" },
                    { "WHFHDY_WHFHGWB", "17.WHFHDY_WHFHGWB", "1", "1", "外环缝焊工位B", "TTJG_WHFH", "Automatic", "TTJGQ_WHFH" },
                    { "RGBHDY_RGBHGWD", "23.RGBHDY_RGBHGWD", "1", "1", "人工补焊工位D", "TTJG_RGBH", "Manual", "TTJGQ_RGBH" },
                    { "WHFHDY_WHFHGWD", "19.WHFHDY_WHFHGWD", "1", "1", "外环缝焊工位D", "TTJG_WHFH", "Automatic", "TTJGQ_WHFH" },
                    { "RGBHDY_RGBHGWA", "20.RGBHDY_RGBHGWA", "1", "1", "人工补焊工位A", "TTJG_RGBH", "Manual", "TTJGQ_RGBH" },
                    { "RGBHDY_RGBHGWB", "21.RGBHDY_RGBHGWB", "1", "1", "人工补焊工位B", "TTJG_RGBH", "Manual", "TTJGQ_RGBH" },
                    { "RGBHDY_RGBHGWC", "22.RGBHDY_RGBHGWC", "1", "1", "人工补焊工位C", "TTJG_RGBH", "Manual", "TTJGQ_RGBH" },
                    { "RGBHDY_RGBHGWE", "24.RGBHDY_RGBHGWE", "1", "1", "人工补焊工位E", "TTJG_RGBH", "Manual", "TTJGQ_RGBH" },
                    { "RGBHDY_RGBHGWF", "25.RGBHDY_RGBHGWF", "1", "1", "人工补焊工位F", "TTJG_RGBH", "Manual", "TTJGQ_RGBH" },
                    { "RGBHDY_RGBHGWG", "26.RGBHDY_RGBHGWG", "1", "1", "人工补焊工位G", "TTJG_RGBH", "Manual", "TTJGQ_RGBH" },
                    { "YPBDDY_YPBDGWE", "09.YPBDDY_YPBDGWE", "1", "1", "叶片摆搭工位E", "TTJG_YPBD", "SemiAutomatic", "TTJGQ_YPBD" },
                    { "WHFHDY_WHFHGWC", "18.WHFHDY_WHFHGWC", "1", "1", "外环缝焊工位C", "TTJG_WHFH", "Automatic", "TTJGQ_WHFH" },
                    { "YPBDDY_YPBDGWD", "08.YPBDDY_YPBDGWD", "1", "1", "叶片摆搭工位D", "TTJG_YPBD", "SemiAutomatic", "TTJGQ_YPBD" },
                    { "ZTPHDDY_DPBGW", "02.ZTPHDDY_DPBGW", "1", "1", "大拼板工位", "PBJY_ZTDPH", "Automatic", "PBJYQ_ZTDPH" },
                    { "YPBDDY_YPBDGWB", "06.YPBDDY_YPBDGWB", "1", "1", "叶片摆搭工位B", "TTJG_YPBD", "SemiAutomatic", "TTJGQ_YPBD" },
                    { "TTJCDY_TTJCGWA", "01.TTJCDY_TTJCGWA", "1", "1", "筒体检测工位A", "TTJC_TTJC", "Manual", "TTJCQ_TTJC" },
                    { "YPFJDY_YPFJPSGW", "02.YPFJDY_YPFJPSGW", "1", "1", "叶片分拣配送工位", "LLHC_YPFJ", "Automatic", "LLHCQ_YPFJ" },
                    { "SXBFLDY_SXBPSGW", "01.SXBFLDY_SXBPSGW", "1", "1", "扇形板配送工位", "LLHC_SXBFL", "Automatic", "LLHCQ_SXBFL" },
                    { "ZTBFLDY_ZTBLPSGW", "03.ZTBFLDY_ZTBLPSGW", "1", "1", "中筒板料配送工位", "LLHC_ZTBFL", "Automatic", "LLHCQ_ZTBFL" },
                    { "ZTPHXDY_XPBGW", "01.ZTPHXDY_XPBGW", "1", "1", "小拼板工位", "PBJY_ZTXPH", "Automatic", "PBJYQ_ZTXPH" },
                    { "JYDY_JYJGWA", "03.JYDY_JYJGWA", "1", "1", "卷圆机工位A", "PBJY_JY", "SemiAutomatic", "PBJYQ_JY" },
                    { "JYDY_JYJGWB", "04.JYDY_JYJGWB", "1", "1", "卷圆机工位B", "PBJY_JY", "SemiAutomatic", "PBJYQ_JY" },
                    { "JYDY_JYJGWC", "05.JYDY_JYJGWC", "1", "1", "卷圆机工位C", "PBJY_JY", "SemiAutomatic", "PBJYQ_JY" },
                    { "ZFHJDY_ZFHGW", "01.ZFHJDY_ZFHGW", "1", "1", "纵缝焊工位", "CXJYZ_ZFHJ", "Automatic", "CXJYZQ_ZFHJ" },
                    { "QZZDDY_QZZDGW", "02.QZZDDY_QZZDGW", "1", "1", "前锥组队工位", "CXJYZ_QZZD", "SemiAutomatic", "CXJYZQ_QZZD" },
                    { "HZZDDY_HZGZYRGW", "03.HZZDDY_HZGZYRGW", "1", "1", "后锥工装压入工位", "CXJYZ_HZYZ", "SemiAutomatic", "CXJYZQ_HZYZ" },
                    { "HZYZDY_HZHDPHGW", "04.HZYZDY_HZHDPHGW", "1", "1", "后锥后段拼焊工位", "CXJYZ_HZYZ", "SemiAutomatic", "CXJYZQ_HZYZ" },
                    { "LSZDDY_LSZDGWA", "01.LSZDDY_LSZDGWA", "1", "1", "立式组队工位A", "TTJG_LSZD", "SemiAutomatic", "TTJGQ_LSZD" },
                    { "LSZDDY_LSZDGWB", "02.LSZDDY_LSZDGWB", "1", "1", "立式组队工位B", "TTJG_LSZD", "SemiAutomatic", "TTJGQ_LSZD" },
                    { "NHFHDY_NHFHGWA", "03.NHFHDY_NHFHGWA", "1", "1", "内环缝焊工位A", "TTJG_NHFH", "Automatic", "TTJGQ_NHFH" },
                    { "NHFHDY_NHFHGWB", "04.NHFHDY_NHFHGWB", "1", "1", "内环缝焊工位B", "TTJG_NHFH", "Automatic", "TTJGQ_NHFH" },
                    { "YPBDDY_YPBDGWA", "05.YPBDDY_YPBDGWA", "1", "1", "叶片摆搭工位A", "TTJG_YPBD", "SemiAutomatic", "TTJGQ_YPBD" },
                    { "YPBDDY_YPBDGWC", "07.YPBDDY_YPBDGWC", "1", "1", "叶片摆搭工位C", "TTJG_YPBD", "SemiAutomatic", "TTJGQ_YPBD" },
                    { "TTJCDY_TTJCGWB", "02.TTJCDY_TTJCGWB", "1", "1", "筒体检测工位B", "TTJC_TTJC", "Manual", "TTJCQ_TTJC" }
                });

            migrationBuilder.InsertData(
                table: "MaterialBomTree",
                columns: new[] { "Id", "BomId", "Code", "CreateUserId", "HasChild", "MaterialId", "ModifyUserId", "Name", "ParentId", "Quantity", "SpecId" },
                values: new object[,]
                {
                    { "1", "11", "10", "1", false, "1001", "1", "封头总成", null, 1, "100101" },
                    { "26", "16", "01", "1", true, "1002", "1", "前锥段", null, 1, "100206" },
                    { "36", "16", "02", "1", true, "1003", "1", "中筒段", null, 1, "100307" },
                    { "46", "16", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100408" },
                    { "56", "16", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100508" },
                    { "66", "16", "15", "1", false, "1011", "1", "滚道", null, 1, "101107" },
                    { "7", "17", "10", "1", false, "1001", "1", "封头总成", null, 1, "100106" },
                    { "27", "17", "01", "1", true, "1002", "1", "前锥段", null, 1, "100206" },
                    { "37", "17", "02", "1", true, "1003", "1", "中筒段", null, 1, "100308" },
                    { "67", "17", "15", "1", false, "1011", "1", "滚道", null, 1, "101106" },
                    { "8", "18", "10", "1", false, "1001", "1", "封头总成", null, 1, "100106" },
                    { "28", "18", "01", "1", true, "1002", "1", "前锥段", null, 1, "100206" },
                    { "38", "18", "02", "1", true, "1003", "1", "中筒段", null, 1, "100309" },
                    { "48", "18", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100407" },
                    { "58", "18", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100507" },
                    { "68", "18", "15", "1", false, "1011", "1", "滚道", null, 1, "101106" },
                    { "29", "19", "01", "1", true, "1002", "1", "前锥段", null, 1, "100202" },
                    { "39", "19", "02", "1", true, "1003", "1", "中筒段", null, 1, "100302" },
                    { "49", "19", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100402" },
                    { "59", "19", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100502" },
                    { "69", "19", "15", "1", false, "1011", "1", "滚道", null, 1, "101102" },
                    { "10", "20", "10", "1", false, "1001", "1", "封头总成", null, 1, "100101" },
                    { "30", "20", "01", "1", true, "1002", "1", "前锥段", null, 1, "100201" },
                    { "50", "20", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100402" },
                    { "60", "20", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100502" },
                    { "70", "20", "15", "1", false, "1011", "1", "滚道", null, 1, "101101" },
                    { "6", "16", "10", "1", false, "1001", "1", "封头总成", null, 1, "100106" },
                    { "65", "15", "15", "1", false, "1011", "1", "滚道", null, 1, "101105" },
                    { "9", "19", "10", "1", false, "1001", "1", "封头总成", null, 1, "100102" },
                    { "45", "15", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100406" },
                    { "55", "15", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100506" },
                    { "21", "11", "01", "1", true, "1002", "1", "前锥段", null, 1, "100201" },
                    { "31", "11", "02", "1", true, "1003", "1", "中筒段", null, 1, "100301" },
                    { "41", "11", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100401" },
                    { "51", "11", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100501" },
                    { "61", "11", "15", "1", false, "1011", "1", "滚道", null, 1, "101101" },
                    { "22", "12", "01", "1", true, "1002", "1", "前锥段", null, 1, "100203" },
                    { "32", "12", "02", "1", true, "1003", "1", "中筒段", null, 1, "100303" },
                    { "42", "12", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100403" },
                    { "52", "12", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100503" },
                    { "62", "12", "15", "1", false, "1011", "1", "滚道", null, 1, "101103" },
                    { "3", "13", "10", "1", false, "1001", "1", "封头总成", null, 1, "100104" },
                    { "23", "13", "01", "1", true, "1002", "1", "前锥段", null, 1, "100204" },
                    { "2", "12", "10", "1", false, "1001", "1", "封头总成", null, 1, "100103" },
                    { "43", "13", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100404" },
                    { "35", "15", "02", "1", true, "1003", "1", "中筒段", null, 1, "100306" },
                    { "33", "13", "02", "1", true, "1003", "1", "中筒段", null, 1, "100304" },
                    { "25", "15", "01", "1", true, "1002", "1", "前锥段", null, 1, "100205" },
                    { "5", "15", "10", "1", false, "1001", "1", "封头总成", null, 1, "100105" },
                    { "64", "14", "15", "1", false, "1011", "1", "滚道", null, 1, "101105" },
                    { "44", "14", "03", "1", true, "1004", "1", "后锥前段", null, 1, "100405" },
                    { "54", "14", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100505" },
                    { "34", "14", "02", "1", true, "1003", "1", "中筒段", null, 1, "100305" },
                    { "24", "14", "01", "1", true, "1002", "1", "前锥段", null, 1, "100205" },
                    { "4", "14", "10", "1", false, "1001", "1", "封头总成", null, 1, "100105" },
                    { "63", "13", "15", "1", false, "1011", "1", "滚道", null, 1, "101104" },
                    { "53", "13", "04", "1", true, "1005", "1", "后锥后段", null, 1, "100504" }
                });

            migrationBuilder.InsertData(
                table: "MaterielSortingLocation",
                columns: new[] { "Id", "CollectorAddress", "CreateUserId", "LocationId", "ModifyUserId", "Quantity", "SortingConfigId", "SpecId" },
                values: new object[,]
                {
                    { "6528685ee3984cf785b45af687904325", "M01B11_VaneSpecName", "1", "11", "1", 34, "MSC_01", "100800" },
                    { "139bb3bac11044568bd425934dfcbdc3", "M08B10_VaneSpecName", "1", "10", "1", 34, "MSC_08", "100800" },
                    { "f068ff1a15b343a682d67a90746b0d93", "M06B10_VaneSpecName", "1", "10", "1", 34, "MSC_06", "100800" },
                    { "a3adb03aa3804edbaca3f521b33cf81d", "M09B10_VaneSpecName", "1", "10", "1", 34, "MSC_09", "100800" },
                    { "276b2139163c49cc8df6d876170c045d", "M10B10_VaneSpecName", "1", "10", "1", 34, "MSC_10", "100800" },
                    { "a9913754c44d4a068ecef4f7e0acc8a8", "M07B10_VaneSpecName", "1", "10", "1", 34, "MSC_07", "100800" },
                    { "b3e889f621b84de5a47457f7701561a7", "M02B11_VaneSpecName", "1", "11", "1", 34, "MSC_02", "100800" },
                    { "1bf0967ad8ad46a68ceb389e1ce51e0d", "M08B11_VaneSpecName", "1", "11", "1", 34, "MSC_08", "100800" },
                    { "32bd574a053747d3a826bae92abf60c7", "M04B11_VaneSpecName", "1", "11", "1", 34, "MSC_04", "100800" },
                    { "b97375187c9a47aba585880233c98307", "M05B11_VaneSpecName", "1", "11", "1", 34, "MSC_05", "100800" },
                    { "10893f1abde84aeeb05c2b097c167017", "M06B11_VaneSpecName", "1", "11", "1", 34, "MSC_06", "100800" },
                    { "cdd93de9693f45d29ff6e834ee2cc6a5", "M07B11_VaneSpecName", "1", "11", "1", 34, "MSC_07", "100800" },
                    { "c2519c214a2e43b591c3dba4c78a3999", "M09B11_VaneSpecName", "1", "11", "1", 34, "MSC_09", "100800" },
                    { "53f951bbb8c147d6b9c2c18dfac6d589", "M05B10_VaneSpecName", "1", "10", "1", 34, "MSC_05", "100800" },
                    { "44e1f8610a684b34a94bd0642cbbfdf0", "M10B11_VaneSpecName", "1", "11", "1", 34, "MSC_10", "100800" },
                    { "bfc710e212c04db3a7e5da2c98da442b", "M03B11_VaneSpecName", "1", "11", "1", 34, "MSC_03", "100800" },
                    { "fb573dfd16c34ecd94543ec90f3792d7", "M04B10_VaneSpecName", "1", "10", "1", 34, "MSC_04", "100800" },
                    { "96fc574d0fe8489abe8f85e04f9713ef", "M10B08_VaneSpecName", "1", "8", "1", 34, "MSC_10", "100800" },
                    { "84ff2434df604d43a804b763beba648a", "M02B10_VaneSpecName", "1", "10", "1", 34, "MSC_02", "100800" },
                    { "655e2cbf9c044b878d7ed3cfa4a70567", "M01B12_VaneSpecName", "1", "12", "1", 34, "MSC_01", "100800" },
                    { "da66c0e0f64c483788becbae962a3ac2", "M07B08_VaneSpecName", "1", "8", "1", 34, "MSC_07", "100800" },
                    { "416231ce6d8f4990ade903d4c2581331", "M08B08_VaneSpecName", "1", "8", "1", 34, "MSC_08", "100800" },
                    { "6b2897c13c2b418aa7e39f9f1730b16e", "M09B08_VaneSpecName", "1", "8", "1", 34, "MSC_09", "100800" },
                    { "734f2a3310994474bacef6c6baf77545", "M01B09_VaneSpecName", "1", "9", "1", 34, "MSC_01", "100800" },
                    { "a20ac5ab19cd4e15b3b253eb7cc9b7d7", "M02B09_VaneSpecName", "1", "9", "1", 34, "MSC_02", "100800" },
                    { "b7fa6b031b454388bfe0eb39d52307a3", "M03B09_VaneSpecName", "1", "9", "1", 34, "MSC_03", "100800" },
                    { "34fe4ab9895a454c94a0d397885ed30b", "M04B09_VaneSpecName", "1", "9", "1", 34, "MSC_04", "100800" },
                    { "1fb78946a0ff440b83efe4d6c0caec72", "M05B09_VaneSpecName", "1", "9", "1", 34, "MSC_05", "100800" },
                    { "9844481ef4814932ab48897971f7040b", "M06B09_VaneSpecName", "1", "9", "1", 34, "MSC_06", "100800" },
                    { "d4cae92be60d4420a9066602530562bb", "M07B09_VaneSpecName", "1", "9", "1", 34, "MSC_07", "100800" },
                    { "126d0cae70f54c37b015076bda78f117", "M08B09_VaneSpecName", "1", "9", "1", 34, "MSC_08", "100800" },
                    { "e63095d92f56477aac7cf0d87a58c312", "M09B09_VaneSpecName", "1", "9", "1", 34, "MSC_09", "100800" },
                    { "6b88c58f322a401abcdf1d4278e29938", "M10B09_VaneSpecName", "1", "9", "1", 34, "MSC_10", "100800" },
                    { "9634a23e7e4549da9f16b28c19351d31", "M01B10_VaneSpecName", "1", "10", "1", 34, "MSC_01", "100800" },
                    { "1278872434414ac1aef72223a019331a", "M03B10_VaneSpecName", "1", "10", "1", 34, "MSC_03", "100800" },
                    { "2cb75177bc044f54807a9c315d399683", "M02B12_VaneSpecName", "1", "12", "1", 34, "MSC_02", "100800" },
                    { "9504ff8fc543417a9b764cf2f8553192", "M10B14_VaneSpecName", "1", "14", "1", 34, "MSC_10", "100800" },
                    { "c6cc00e0213e4c11beddf53480ada22a", "M04B12_VaneSpecName", "1", "12", "1", 34, "MSC_04", "100800" },
                    { "1b7d1e9b72d44fc78fc70d9f42fd22dc", "M04B14_VaneSpecName", "1", "14", "1", 34, "MSC_04", "100800" },
                    { "63897d8bcf884aaa9cfc148421ca27b6", "M05B14_VaneSpecName", "1", "14", "1", 34, "MSC_05", "100800" },
                    { "9617337f08dd4be89187c8fa52898112", "M06B14_VaneSpecName", "1", "14", "1", 34, "MSC_06", "100800" },
                    { "91b1165874614df2b7cd689964793191", "M07B14_VaneSpecName", "1", "14", "1", 34, "MSC_07", "100800" },
                    { "e3e3de6a3694464c8e1ead6d25fdc809", "M08B14_VaneSpecName", "1", "14", "1", 34, "MSC_08", "100800" },
                    { "ed077ef126ff47caa283af09799f535c", "M09B14_VaneSpecName", "1", "14", "1", 34, "MSC_09", "100800" },
                    { "c1c9643374734863992160be29658231", "M06B08_VaneSpecName", "1", "8", "1", 34, "MSC_06", "100800" },
                    { "59fbe8b1ce9e4c93b9c7f69d4f3a0ef7", "M01B15_VaneSpecName", "1", "15", "1", 34, "MSC_01", "100800" },
                    { "b78873c3e5614da49b5ec1e901865a1b", "M02B15_VaneSpecName", "1", "15", "1", 34, "MSC_02", "100800" },
                    { "53dd2896973d47fabfa0e99e175bea3b", "M03B15_VaneSpecName", "1", "15", "1", 34, "MSC_03", "100800" },
                    { "37fc4f31c0704d9392f67a8f13a82a5b", "M04B15_VaneSpecName", "1", "15", "1", 34, "MSC_04", "100800" },
                    { "3a9accfe83c94105b0a3eaa7752231b4", "M05B15_VaneSpecName", "1", "15", "1", 34, "MSC_05", "100800" },
                    { "9866495608ee4d018effe68a0116ffd2", "M06B15_VaneSpecName", "1", "15", "1", 34, "MSC_06", "100800" },
                    { "e77c4a8f9e9048b1b46d12b54bf27ded", "M07B15_VaneSpecName", "1", "15", "1", 34, "MSC_07", "100800" },
                    { "c5f95c5aa2654237a0c1060a34bd7483", "M08B15_VaneSpecName", "1", "15", "1", 34, "MSC_08", "100800" },
                    { "d2f734e3b4c94026a85f291915459a54", "M03B14_VaneSpecName", "1", "14", "1", 34, "MSC_03", "100800" },
                    { "967ace4d68074b1aa6a7a56e7c285f3c", "M03B12_VaneSpecName", "1", "12", "1", 34, "MSC_03", "100800" },
                    { "eec600246ea94268b88484a44c4e2eb3", "M02B14_VaneSpecName", "1", "14", "1", 34, "MSC_02", "100800" },
                    { "0b5da757c18142539d7abe8964b3402b", "M10B13_VaneSpecName", "1", "13", "1", 34, "MSC_10", "100800" },
                    { "101c27d652344d80b3e905e5e12af3e1", "M05B12_VaneSpecName", "1", "12", "1", 34, "MSC_05", "100800" },
                    { "0cb4c4df88a042a1b5ada00b6c5962ce", "M06B12_VaneSpecName", "1", "12", "1", 34, "MSC_06", "100800" },
                    { "b42f8e8ab9974dd9b57a3e26aa857d26", "M07B12_VaneSpecName", "1", "12", "1", 34, "MSC_07", "100800" },
                    { "2b0c30c2b8304a8fa72995fa96f8c257", "M08B12_VaneSpecName", "1", "12", "1", 34, "MSC_08", "100800" },
                    { "a26656c2df0549ada59ad3dddfbf8d84", "M09B12_VaneSpecName", "1", "12", "1", 34, "MSC_09", "100800" },
                    { "b9347f3c9f1d426ca3de4b16f3658218", "M10B12_VaneSpecName", "1", "12", "1", 34, "MSC_10", "100800" },
                    { "e2203f4d23864d2186455c8e118a9f30", "M01B13_VaneSpecName", "1", "13", "1", 34, "MSC_01", "100800" },
                    { "c43aaf8ca28d499c853a58fcd067d8f8", "M02B13_VaneSpecName", "1", "13", "1", 34, "MSC_02", "100800" },
                    { "2b4a5b5e032a47ffa099d4ba2908b21b", "M03B13_VaneSpecName", "1", "13", "1", 34, "MSC_03", "100800" },
                    { "91255b76df7c48c4bf5c3e291f001cb5", "M04B13_VaneSpecName", "1", "13", "1", 34, "MSC_04", "100800" },
                    { "0ddde2cfb78f438185462c9e50e1e383", "M05B13_VaneSpecName", "1", "13", "1", 34, "MSC_05", "100800" },
                    { "c64d6508cd9945cda2b2e28446f2bcd4", "M06B13_VaneSpecName", "1", "13", "1", 34, "MSC_06", "100800" },
                    { "29811085a6e147dfb1375662ecc45ad9", "M07B13_VaneSpecName", "1", "13", "1", 34, "MSC_07", "100800" },
                    { "c8b14c0bbf1b45da97d4246ea92aa365", "M08B13_VaneSpecName", "1", "13", "1", 34, "MSC_08", "100800" },
                    { "f3491b89bc4e4dc4a55921b133f194b5", "M09B13_VaneSpecName", "1", "13", "1", 34, "MSC_09", "100800" },
                    { "f12ccc3f8ecb40508e56e1ee965e950d", "M01B14_VaneSpecName", "1", "14", "1", 34, "MSC_01", "100800" },
                    { "990432103d67424d82d74eea042581d6", "M05B08_VaneSpecName", "1", "8", "1", 34, "MSC_05", "100800" },
                    { "0b19ba743fbb419995c0a4bdca728953", "M07B05_VaneSpecName", "1", "5", "1", 34, "MSC_07", "100800" },
                    { "fdf8752fb1224c9390d8ee8b9bbaa4e7", "M03B08_VaneSpecName", "1", "8", "1", 34, "MSC_03", "100800" },
                    { "4b75ccdf7edf43f8ad19d596730857a4", "M10B02_VaneSpecName", "1", "2", "1", 34, "MSC_10", "100800" },
                    { "9a10dfa2959c46d198f4845cc9c31419", "M01B03_VaneSpecName", "1", "3", "1", 34, "MSC_01", "100800" },
                    { "9fa750b16c7f43e9b0b6457b01a3227d", "M02B03_VaneSpecName", "1", "3", "1", 34, "MSC_02", "100800" },
                    { "c7df72ecd0db47c6806c15ee1477810f", "M03B03_VaneSpecName", "1", "3", "1", 34, "MSC_03", "100800" },
                    { "f41d2cc5d8ae4d2195e415e89294c870", "M04B03_VaneSpecName", "1", "3", "1", 34, "MSC_04", "100800" },
                    { "23cbd79e859b4fb4a7b72185e0d88870", "M05B03_VaneSpecName", "1", "3", "1", 34, "MSC_05", "100800" },
                    { "744d563938ab41ed868821bfdde0676e", "M06B03_VaneSpecName", "1", "3", "1", 34, "MSC_06", "100800" },
                    { "9e5e855393664357986d2524cf5acf96", "M07B03_VaneSpecName", "1", "3", "1", 34, "MSC_07", "100800" },
                    { "6ce75f283f964b48b142cc9d1e28b6da", "M08B03_VaneSpecName", "1", "3", "1", 34, "MSC_08", "100800" },
                    { "17994446e7b54c779f07cca9dc6293bc", "M09B03_VaneSpecName", "1", "3", "1", 34, "MSC_09", "100800" },
                    { "9badccc990c7449ebcd632aef9945e9f", "M10B03_VaneSpecName", "1", "3", "1", 34, "MSC_10", "100800" },
                    { "362523340bc64d2c9234d1fa7579c1b5", "M01B04_VaneSpecName", "1", "4", "1", 34, "MSC_01", "100800" },
                    { "912961d0ecfd402c878043e629460678", "M02B04_VaneSpecName", "1", "4", "1", 34, "MSC_02", "100800" },
                    { "3569bed8918540ecb8352b33976e8007", "M03B04_VaneSpecName", "1", "4", "1", 34, "MSC_03", "100800" },
                    { "833326f39f4b46b1960f9b28b65a7e59", "M04B04_VaneSpecName", "1", "4", "1", 34, "MSC_04", "100800" },
                    { "b7b7bff65ccf4b8e8fb156506136f385", "M09B02_VaneSpecName", "1", "2", "1", 34, "MSC_09", "100800" },
                    { "6a18e5148ab140919451f9ba6781e885", "M05B04_VaneSpecName", "1", "4", "1", 34, "MSC_05", "100800" },
                    { "a45e8b8a2a1843eea203c7a52da6a8cd", "M08B02_VaneSpecName", "1", "2", "1", 34, "MSC_08", "100800" },
                    { "84278b284f1e47c3b65fe3a4972effd2", "M06B02_VaneSpecName", "1", "2", "1", 34, "MSC_06", "100800" },
                    { "8a47ab55f44b4d7488cab6831370f35d", "M01B01_VaneSpecName", "1", "1", "1", 34, "MSC_01", "100800" },
                    { "bc41928b8637484d8f41865bc21db8c3", "M02B01_VaneSpecName", "1", "1", "1", 34, "MSC_02", "100800" },
                    { "ced11fa9f5944759988f870deaa12fd1", "M03B01_VaneSpecName", "1", "1", "1", 34, "MSC_03", "100800" },
                    { "34ff8423dbb948acb2cc2df052563921", "M04B01_VaneSpecName", "1", "1", "1", 34, "MSC_04", "100800" },
                    { "3d814886164443ee9e13ca24321b8aef", "M05B01_VaneSpecName", "1", "1", "1", 34, "MSC_05", "100800" },
                    { "7230274377614d9c93bd362d3559bb77", "M06B01_VaneSpecName", "1", "1", "1", 34, "MSC_06", "100800" },
                    { "23314dfecb2b44fa9b0fe4e537ebe68a", "M07B01_VaneSpecName", "1", "1", "1", 34, "MSC_07", "100800" },
                    { "b1f0a7cde8c741bba10b696ac2c5a36a", "M08B01_VaneSpecName", "1", "1", "1", 34, "MSC_08", "100800" },
                    { "70dc0d5b834949f8a678eedd9ed8cf30", "M09B01_VaneSpecName", "1", "1", "1", 34, "MSC_09", "100800" },
                    { "5bda73a4bbef4d4bb6e27168b3ff5210", "M10B01_VaneSpecName", "1", "1", "1", 34, "MSC_10", "100800" },
                    { "69927fd745744619b119ddaa2dbae40c", "M01B02_VaneSpecName", "1", "2", "1", 34, "MSC_01", "100800" },
                    { "c7f8d65d18fa4fb891bf66bb4c20f833", "M02B02_VaneSpecName", "1", "2", "1", 34, "MSC_02", "100800" },
                    { "51f025a379d948449220e2bc9de6b552", "M03B02_VaneSpecName", "1", "2", "1", 34, "MSC_03", "100800" },
                    { "b738723bb1fb4621afe938910c186fba", "M04B02_VaneSpecName", "1", "2", "1", 34, "MSC_04", "100800" },
                    { "f2cc1ad5bd564122a47e358dc012a937", "M05B02_VaneSpecName", "1", "2", "1", 34, "MSC_05", "100800" },
                    { "c086ea59d6b54f0cbfbb2b3446e1a57d", "M07B02_VaneSpecName", "1", "2", "1", 34, "MSC_07", "100800" },
                    { "e12b703cc24d485b8f060f86b5cde748", "M04B08_VaneSpecName", "1", "8", "1", 34, "MSC_04", "100800" },
                    { "95acc0dc90aa4a1abfffc883fe79ad52", "M06B04_VaneSpecName", "1", "4", "1", 34, "MSC_06", "100800" },
                    { "fc49b0527c944fbba65910dc94d7d151", "M08B04_VaneSpecName", "1", "4", "1", 34, "MSC_08", "100800" },
                    { "d487e67a66354eedad3fc2ddb1efa5ce", "M08B06_VaneSpecName", "1", "6", "1", 34, "MSC_08", "100800" },
                    { "23f6e2fea7584776a250ef8c250370a0", "M09B06_VaneSpecName", "1", "6", "1", 34, "MSC_09", "100800" },
                    { "d4fc52a947e34c64804e1ff81d733ded", "M10B06_VaneSpecName", "1", "6", "1", 34, "MSC_10", "100800" },
                    { "f0e062022e044e07a677bc5ccc894224", "M01B07_VaneSpecName", "1", "7", "1", 34, "MSC_01", "100800" },
                    { "a9bd9d3011ef494ea8532d122b797931", "M02B07_VaneSpecName", "1", "7", "1", 34, "MSC_02", "100800" },
                    { "5f740b3fecab420788d78d9efc867b5f", "M03B07_VaneSpecName", "1", "7", "1", 34, "MSC_03", "100800" },
                    { "fe2971b0a1c341d7a9f1702033a99133", "M04B07_VaneSpecName", "1", "7", "1", 34, "MSC_04", "100800" },
                    { "4886e8a882fe4278bb9db57fbe6ce2df", "M05B07_VaneSpecName", "1", "7", "1", 34, "MSC_05", "100800" },
                    { "4d0f994f4d1144b294b1b78ebbd7ce04", "M06B07_VaneSpecName", "1", "7", "1", 34, "MSC_06", "100800" },
                    { "21f978bbb2394536a9c0767f2869c1d4", "M07B07_VaneSpecName", "1", "7", "1", 34, "MSC_07", "100800" },
                    { "ae5e18a872234bb894ebb0ac74bced40", "M08B07_VaneSpecName", "1", "7", "1", 34, "MSC_08", "100800" },
                    { "131d91c6a5914601b832d2dea90bf808", "M09B07_VaneSpecName", "1", "7", "1", 34, "MSC_09", "100800" },
                    { "d8b329bc869048faba7e396667a43331", "M10B07_VaneSpecName", "1", "7", "1", 34, "MSC_10", "100800" },
                    { "7c0ad3ac5d6f4694be76adf29ddf50ba", "M01B08_VaneSpecName", "1", "8", "1", 34, "MSC_01", "100800" },
                    { "fd25da1f60ff4882b2ab0c824a9f5fec", "M02B08_VaneSpecName", "1", "8", "1", 34, "MSC_02", "100800" },
                    { "33434d0ae2894130992984b6fefbe0fc", "M07B06_VaneSpecName", "1", "6", "1", 34, "MSC_07", "100800" },
                    { "f1bb8daf8fc94e72884789402f7d7c3a", "M07B04_VaneSpecName", "1", "4", "1", 34, "MSC_07", "100800" },
                    { "296bbcc209a7419596fd89217a57a3dd", "M06B06_VaneSpecName", "1", "6", "1", 34, "MSC_06", "100800" },
                    { "d6ec7d56ce174eccbd5d2eb756760805", "M04B06_VaneSpecName", "1", "6", "1", 34, "MSC_04", "100800" },
                    { "e42c1580a65a43d980c9691962108975", "M09B04_VaneSpecName", "1", "4", "1", 34, "MSC_09", "100800" },
                    { "5d9a39b132ed4e7db90f71995f2d610b", "M10B04_VaneSpecName", "1", "4", "1", 34, "MSC_10", "100800" },
                    { "b8aaeedafd164cb3b3d82d54c76da2d6", "M01B05_VaneSpecName", "1", "5", "1", 34, "MSC_01", "100800" },
                    { "209d28ee988c45118f565f0bf25cc3a4", "M02B05_VaneSpecName", "1", "5", "1", 34, "MSC_02", "100800" },
                    { "1b29bbcb894c40449983b4890524f642", "M03B05_VaneSpecName", "1", "5", "1", 34, "MSC_03", "100800" },
                    { "88243641e9714fa885c8212847d2125f", "M04B05_VaneSpecName", "1", "5", "1", 34, "MSC_04", "100800" },
                    { "ac66d4c031384f06a5abf49a10a9587c", "M05B05_VaneSpecName", "1", "5", "1", 34, "MSC_05", "100800" },
                    { "0a9ab5c826924e8aaca1d224bd53813b", "M06B05_VaneSpecName", "1", "5", "1", 34, "MSC_06", "100800" },
                    { "c5ee3e71776c4bee830b147585ba9788", "M09B15_VaneSpecName", "1", "15", "1", 34, "MSC_09", "100800" },
                    { "04e37b184e1f4c848ef07cc81acbda1d", "M08B05_VaneSpecName", "1", "5", "1", 34, "MSC_08", "100800" },
                    { "e52f83786af64600ae2081a073e1d13f", "M09B05_VaneSpecName", "1", "5", "1", 34, "MSC_09", "100800" },
                    { "571b71bd397a4745875b76df85275485", "M10B05_VaneSpecName", "1", "5", "1", 34, "MSC_10", "100800" },
                    { "433f6f9538984c7baeb3aef5feed1e88", "M01B06_VaneSpecName", "1", "6", "1", 34, "MSC_01", "100800" },
                    { "83c5fa323ba8406db86251b1a6c61364", "M02B06_VaneSpecName", "1", "6", "1", 34, "MSC_02", "100800" },
                    { "aa588b76bb544a02a61369a4dc8dd909", "M03B06_VaneSpecName", "1", "6", "1", 34, "MSC_03", "100800" },
                    { "291710cd07ad427e8dcc1e43e63b2af5", "M05B06_VaneSpecName", "1", "6", "1", 34, "MSC_05", "100800" },
                    { "10bbd5b1574645c08f47369617ac4878", "M10B15_VaneSpecName", "1", "15", "1", 34, "MSC_10", "100800" }
                });

            migrationBuilder.InsertData(
                table: "MaterialBomTree",
                columns: new[] { "Id", "BomId", "Code", "CreateUserId", "HasChild", "MaterialId", "ModifyUserId", "Name", "ParentId", "Quantity", "SpecId" },
                values: new object[,]
                {
                    { "121", "11", "06", "1", false, "10021", "1", "前锥拼板", "21", 1, "1002011" },
                    { "126", "16", "06", "1", false, "10021", "1", "前锥拼板", "26", 1, "1002061" },
                    { "136", "16", "07", "1", false, "10031", "1", "中筒拼板", "36", 1, "1003071" },
                    { "146", "16", "08", "1", false, "10041", "1", "后锥前拼板", "46", 1, "1004081" },
                    { "156", "16", "04", "1", false, "10051", "1", "后锥后拼板", "56", 1, "1005081" },
                    { "127", "17", "06", "1", false, "10021", "1", "前锥拼板", "27", 1, "1002061" },
                    { "137", "17", "07", "1", false, "10031", "1", "中筒拼板", "37", 1, "1003081" },
                    { "128", "18", "06", "1", false, "10021", "1", "前锥拼板", "28", 1, "1002061" },
                    { "138", "18", "07", "1", false, "10031", "1", "中筒拼板", "38", 1, "1003091" },
                    { "148", "18", "08", "1", false, "10041", "1", "后锥前拼板", "48", 1, "1004071" },
                    { "158", "18", "04", "1", false, "10051", "1", "后锥后拼板", "58", 1, "1005071" },
                    { "129", "19", "06", "1", false, "10021", "1", "前锥拼板", "29", 1, "1002021" },
                    { "139", "19", "07", "1", false, "10031", "1", "中筒拼板", "39", 1, "1003021" },
                    { "149", "19", "08", "1", false, "10041", "1", "后锥前拼板", "49", 1, "1004021" },
                    { "159", "19", "04", "1", false, "10051", "1", "后锥后拼板", "59", 1, "1005021" },
                    { "130", "20", "06", "1", false, "10021", "1", "前锥拼板", "30", 1, "1002011" },
                    { "155", "15", "04", "1", false, "10051", "1", "后锥后拼板", "55", 1, "1005061" },
                    { "150", "20", "08", "1", false, "10041", "1", "后锥前拼板", "50", 1, "1004021" },
                    { "145", "15", "08", "1", false, "10041", "1", "后锥前拼板", "45", 1, "1004061" },
                    { "125", "15", "06", "1", false, "10021", "1", "前锥拼板", "25", 1, "1002051" },
                    { "131", "11", "07", "1", false, "10031", "1", "中筒拼板", "31", 1, "1003011" },
                    { "141", "11", "08", "1", false, "10041", "1", "后锥前拼板", "41", 1, "1004011" },
                    { "151", "11", "04", "1", false, "10051", "1", "后锥后拼板", "51", 1, "1005011" },
                    { "122", "12", "06", "1", false, "10021", "1", "前锥拼板", "22", 1, "1002031" },
                    { "132", "12", "07", "1", false, "10031", "1", "中筒拼板", "32", 1, "1003031" },
                    { "142", "12", "08", "1", false, "10041", "1", "后锥前拼板", "42", 1, "1004031" },
                    { "152", "12", "04", "1", false, "10051", "1", "后锥后拼板", "52", 1, "1005031" },
                    { "123", "13", "06", "1", false, "10021", "1", "前锥拼板", "23", 1, "1002041" },
                    { "133", "13", "07", "1", false, "10031", "1", "中筒拼板", "33", 1, "1003041" },
                    { "143", "13", "08", "1", false, "10041", "1", "后锥前拼板", "43", 1, "1004041" },
                    { "153", "13", "04", "1", false, "10051", "1", "后锥后拼板", "53", 1, "1005041" },
                    { "124", "14", "06", "1", false, "10021", "1", "前锥拼板", "24", 1, "1002051" },
                    { "134", "14", "07", "1", false, "10031", "1", "中筒拼板", "34", 1, "1003051" },
                    { "144", "14", "08", "1", false, "10041", "1", "后锥前拼板", "44", 1, "1004051" },
                    { "154", "14", "04", "1", false, "10051", "1", "后锥后拼板", "54", 1, "1005051" },
                    { "135", "15", "07", "1", false, "10031", "1", "中筒拼板", "35", 1, "1003061" },
                    { "160", "20", "04", "1", false, "10051", "1", "后锥后拼板", "60", 1, "1005021" }
                });

            migrationBuilder.CreateIndex(
                name: "IX_CF_CodeRule_CodeTypeId",
                table: "CF_CodeRule",
                column: "CodeTypeId");

            migrationBuilder.CreateIndex(
                name: "IX_CF_CodeSerial_CodeTypeId",
                table: "CF_CodeSerial",
                column: "CodeTypeId");

            migrationBuilder.CreateIndex(
                name: "IX_CF_EnumItem_EnumId",
                table: "CF_EnumItem",
                column: "EnumId");

            migrationBuilder.CreateIndex(
                name: "IX_CraftStepProcess_CraftStepId",
                table: "CraftStepProcess",
                column: "CraftStepId");

            migrationBuilder.CreateIndex(
                name: "IX_Equipment_StationId",
                table: "Equipment",
                column: "StationId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterialBom_ProductId",
                table: "MaterialBom",
                column: "ProductId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterialBom_SpecId",
                table: "MaterialBom",
                column: "SpecId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterialBomTree_BomId",
                table: "MaterialBomTree",
                column: "BomId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterialBomTree_MaterialId",
                table: "MaterialBomTree",
                column: "MaterialId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterialBomTree_ParentId",
                table: "MaterialBomTree",
                column: "ParentId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterialBomTree_SpecId",
                table: "MaterialBomTree",
                column: "SpecId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielInfor_TypeId",
                table: "MaterielInfor",
                column: "TypeId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielSortingConfig_ProductSpecId",
                table: "MaterielSortingConfig",
                column: "ProductSpecId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielSortingConfig_SortingMaterialId",
                table: "MaterielSortingConfig",
                column: "SortingMaterialId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielSortingLocation_LocationId",
                table: "MaterielSortingLocation",
                column: "LocationId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielSortingLocation_SortingConfigId",
                table: "MaterielSortingLocation",
                column: "SortingConfigId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielSortingLocation_SpecId",
                table: "MaterielSortingLocation",
                column: "SpecId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielSortingSequence_LocationId",
                table: "MaterielSortingSequence",
                column: "LocationId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielSortingSequence_SortingConfigId",
                table: "MaterielSortingSequence",
                column: "SortingConfigId");

            migrationBuilder.CreateIndex(
                name: "IX_MaterielSpec_MaterielId",
                table: "MaterielSpec",
                column: "MaterielId");

            migrationBuilder.CreateIndex(
                name: "IX_Plan_BomId",
                table: "Plan",
                column: "BomId");

            migrationBuilder.CreateIndex(
                name: "IX_PlanPrepare_PlanId",
                table: "PlanPrepare",
                column: "PlanId");

            migrationBuilder.CreateIndex(
                name: "IX_Precollected_PlanId",
                table: "Precollected",
                column: "PlanId");

            migrationBuilder.CreateIndex(
                name: "IX_RealIncome_PrecollectedId",
                table: "RealIncome",
                column: "PrecollectedId");

            migrationBuilder.CreateIndex(
                name: "IX_ResponseVarToMPCodeConfig_DispathPathConfigId",
                table: "ResponseVarToMPCodeConfig",
                column: "DispathPathConfigId");

            migrationBuilder.CreateIndex(
                name: "IX_StorageArea_MaterielId",
                table: "StorageArea",
                column: "MaterielId");

            migrationBuilder.CreateIndex(
                name: "IX_StorageLocation_StorageArealId",
                table: "StorageLocation",
                column: "StorageArealId");

            migrationBuilder.CreateIndex(
                name: "IX_Sys_Action_MenuId",
                table: "Sys_Action",
                column: "MenuId");

            migrationBuilder.CreateIndex(
                name: "IX_Sys_Menu_ParentId",
                table: "Sys_Menu",
                column: "ParentId");

            migrationBuilder.CreateIndex(
                name: "IX_Sys_Org_ParentId",
                table: "Sys_Org",
                column: "ParentId");

            migrationBuilder.CreateIndex(
                name: "IX_Sys_RoleAction_RoleId",
                table: "Sys_RoleAction",
                column: "RoleId");

            migrationBuilder.CreateIndex(
                name: "IX_Sys_RoleMenu_RoleId",
                table: "Sys_RoleMenu",
                column: "RoleId");

            migrationBuilder.CreateIndex(
                name: "IX_Sys_User_OrgId",
                table: "Sys_User",
                column: "OrgId");

            migrationBuilder.CreateIndex(
                name: "IX_Sys_UserRole_RoleId",
                table: "Sys_UserRole",
                column: "RoleId");

            migrationBuilder.CreateIndex(
                name: "IX_TeamMember_StationId",
                table: "TeamMember",
                column: "StationId");

            migrationBuilder.CreateIndex(
                name: "IX_TeamMember_TeamId",
                table: "TeamMember",
                column: "TeamId");

            migrationBuilder.CreateIndex(
                name: "IX_TeamMember_UserId",
                table: "TeamMember",
                column: "UserId");

            migrationBuilder.CreateIndex(
                name: "IX_WorkshoArea_CraftStepId",
                table: "WorkshoArea",
                column: "CraftStepId");

            migrationBuilder.CreateIndex(
                name: "IX_WorkshoArea_WorkshoId",
                table: "WorkshoArea",
                column: "WorkshoId");

            migrationBuilder.CreateIndex(
                name: "IX_WorkshoStation_ProcessId",
                table: "WorkshoStation",
                column: "ProcessId");

            migrationBuilder.CreateIndex(
                name: "IX_WorkshoStation_UnitId",
                table: "WorkshoStation",
                column: "UnitId");

            migrationBuilder.CreateIndex(
                name: "IX_WorkshoUnit_AreaId",
                table: "WorkshoUnit",
                column: "AreaId");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "AgvDispatchTask");

            migrationBuilder.DropTable(
                name: "CF_CodeRule");

            migrationBuilder.DropTable(
                name: "CF_CodeSerial");

            migrationBuilder.DropTable(
                name: "CF_Config");

            migrationBuilder.DropTable(
                name: "CF_District");

            migrationBuilder.DropTable(
                name: "CF_EnumItem");

            migrationBuilder.DropTable(
                name: "DeliveryExecuted");

            migrationBuilder.DropTable(
                name: "DeviceFault");

            migrationBuilder.DropTable(
                name: "Equipment");

            migrationBuilder.DropTable(
                name: "FaultType");

            migrationBuilder.DropTable(
                name: "MaterialBomTree");

            migrationBuilder.DropTable(
                name: "MaterielSortingIssued");

            migrationBuilder.DropTable(
                name: "MaterielSortingSequence");

            migrationBuilder.DropTable(
                name: "PlanPrepare");

            migrationBuilder.DropTable(
                name: "RealIncome");

            migrationBuilder.DropTable(
                name: "ResponseVarToMPCodeConfig");

            migrationBuilder.DropTable(
                name: "StationExecuted");

            migrationBuilder.DropTable(
                name: "StepExecuted");

            migrationBuilder.DropTable(
                name: "Sys_Personnel");

            migrationBuilder.DropTable(
                name: "Sys_RoleAction");

            migrationBuilder.DropTable(
                name: "Sys_RoleMenu");

            migrationBuilder.DropTable(
                name: "Sys_UserRole");

            migrationBuilder.DropTable(
                name: "TeamMember");

            migrationBuilder.DropTable(
                name: "TeamTime");

            migrationBuilder.DropTable(
                name: "CF_CodeType");

            migrationBuilder.DropTable(
                name: "CF_Enum");

            migrationBuilder.DropTable(
                name: "MaterielSortingLocation");

            migrationBuilder.DropTable(
                name: "Precollected");

            migrationBuilder.DropTable(
                name: "DispathPathConfig");

            migrationBuilder.DropTable(
                name: "Sys_Action");

            migrationBuilder.DropTable(
                name: "Sys_Role");

            migrationBuilder.DropTable(
                name: "Sys_User");

            migrationBuilder.DropTable(
                name: "Team");

            migrationBuilder.DropTable(
                name: "WorkshoStation");

            migrationBuilder.DropTable(
                name: "MaterielSortingConfig");

            migrationBuilder.DropTable(
                name: "StorageLocation");

            migrationBuilder.DropTable(
                name: "Plan");

            migrationBuilder.DropTable(
                name: "Sys_Menu");

            migrationBuilder.DropTable(
                name: "Sys_Org");

            migrationBuilder.DropTable(
                name: "CraftStepProcess");

            migrationBuilder.DropTable(
                name: "WorkshoUnit");

            migrationBuilder.DropTable(
                name: "StorageArea");

            migrationBuilder.DropTable(
                name: "MaterialBom");

            migrationBuilder.DropTable(
                name: "WorkshoArea");

            migrationBuilder.DropTable(
                name: "MaterielSpec");

            migrationBuilder.DropTable(
                name: "CraftStep");

            migrationBuilder.DropTable(
                name: "Worksho");

            migrationBuilder.DropTable(
                name: "MaterielInfor");

            migrationBuilder.DropTable(
                name: "MaterielType");
        }
    }
}
